Fix Linter Errors in entrypoint.sh

This commit is contained in:
Stefan Zweifel 2020-10-15 20:30:26 +02:00
parent b9e4cea0ef
commit 1ba48c6d7f

View File

@ -29,10 +29,11 @@ _main() {
_switch_to_repository() { _switch_to_repository() {
echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY"; echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY";
cd $INPUT_REPOSITORY; cd "$INPUT_REPOSITORY";
} }
_git_is_dirty() { _git_is_dirty() {
# shellcheck disable=SC2086
[ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ] [ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ]
} }