diff --git a/.github/workflows/bash.yml b/.github/workflows/bash.yml index 2e4a6d9..ebd318d 100644 --- a/.github/workflows/bash.yml +++ b/.github/workflows/bash.yml @@ -18,4 +18,4 @@ jobs: - name: Installing dependencies.. run: if ! apt list --installed 2>/dev/null | grep -q ".*shellcheck.*"; then apt install -y shellcheck; fi - name: Linting.. - run: cd "$GITHUB_WORKSPACE" for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done \ No newline at end of file + run: cd "$GITHUB_WORKSPACE" && for file in $(git ls-tree --name-only -r ${{ github.sha }} | grep '.*\.bash'); do shellcheck --external-sources --shell=bash "$file";done \ No newline at end of file