Fix Linter Errors in entrypoint.sh
This commit is contained in:
parent
b9e4cea0ef
commit
1ba48c6d7f
@ -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)" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user