mirror of
https://github.com/creyD/autopep8_action.git
synced 2026-04-12 19:40:28 +02:00
Fixed a bug with function names
This commit is contained in:
@@ -5,7 +5,7 @@ set -eu
|
||||
|
||||
# FUNCTIONS
|
||||
# Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh)
|
||||
_git_setup {
|
||||
_git_setup() {
|
||||
cat <<- EOF > $HOME/.netrc
|
||||
machine github.com
|
||||
login $GITHUB_ACTOR
|
||||
@@ -21,7 +21,7 @@ EOF
|
||||
}
|
||||
|
||||
# Checks if any files are changed
|
||||
_git_changed {
|
||||
_git_changed() {
|
||||
[[ -n "$(git status -s)" ]]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user