From 1ba48c6d7f0aedfbdaceef720b38b65f1b6b6db9 Mon Sep 17 00:00:00 2001 From: Stefan Zweifel Date: Thu, 15 Oct 2020 20:30:26 +0200 Subject: [PATCH] Fix Linter Errors in entrypoint.sh --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0829b48..ee2cce7 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -29,10 +29,11 @@ _main() { _switch_to_repository() { echo "INPUT_REPOSITORY value: $INPUT_REPOSITORY"; - cd $INPUT_REPOSITORY; + cd "$INPUT_REPOSITORY"; } _git_is_dirty() { + # shellcheck disable=SC2086 [ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ] }