Fixed a bug with function names

This commit is contained in:
2020-05-06 10:29:22 +02:00
parent ded507f15f
commit a51a186977

View File

@@ -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)" ]]
}