mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-22 02:33:42 +02:00
IMP(shfmt): add shell formatter
This commit is contained in:
@ -7,4 +7,3 @@ set -e
|
||||
dockerfile="$(dirname "$0")/Dockerfile.shellcheck"
|
||||
docker build -f "$dockerfile" -t debiancis-shellcheck "$(dirname "$0")"/../
|
||||
docker run --rm debiancis-shellcheck "$@"
|
||||
|
||||
|
@ -6,7 +6,7 @@ files=""
|
||||
retval=0
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
files=$(find . -name "*.sh" | sort -V )
|
||||
files=$(find . -name "*.sh" | sort -V)
|
||||
else
|
||||
files="$*"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user