dd
This commit is contained in:
parent
79fd167c65
commit
742a2e749a
1 changed files with 2 additions and 6 deletions
|
@ -32,9 +32,5 @@ jobs:
|
|||
with:
|
||||
image: koalaman/shellcheck-alpine:v0.10.0
|
||||
run: |
|
||||
find . -type f -not -path './.git/*' -not -path './collections/*' -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"
|
||||
fi
|
||||
done
|
||||
shellcheck shell.sh
|
||||
# shellcheck file2
|
||||
|
|
Loading…
Reference in a new issue