mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-08 19:10:31 +00:00
21 lines
277 B
Bash
21 lines
277 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
targets=()
|
||
|
while IFS= read -r -d $'\0'; do
|
||
|
targets+=("$REPLY")
|
||
|
done < <(
|
||
|
find \
|
||
|
bin/bats \
|
||
|
libexec/bats-core \
|
||
|
lib/bats-core \
|
||
|
shellcheck.sh \
|
||
|
-type f \
|
||
|
-print0
|
||
|
)
|
||
|
|
||
|
LC_ALL=C.UTF-8 shellcheck "${targets[@]}"
|
||
|
|
||
|
exit $?
|