ci: syntax
This commit is contained in:
parent
3f6d191c46
commit
eb76869379
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ steps:
|
|||
image: "koalaman/shellcheck-alpine:v0.10.0"
|
||||
commands:
|
||||
- |
|
||||
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
|
||||
find . -type f -not -path './.git/*' -exec file {} \; | while IFS= read -r line; do
|
||||
if echo "$line" | grep -q "shell script"; then
|
||||
file_path=$(echo "$line" | awk -F':' '{print $1}')
|
||||
shellcheck "$file_path"
|
||||
|
|
Loading…
Reference in a new issue