Ignore shellcheck false positive
This commit is contained in:
parent
22e4a800a1
commit
59c9a2b243
@ -16,6 +16,8 @@ elif [[ $TESTENV == eslint ]]; then
|
||||
eslint --color --report-unused-disable-directives .
|
||||
elif [[ $TESTENV == shellcheck ]]; then
|
||||
dev_scripts=$( find scripts/dev/ -name '*.sh' -print0 | xargs -0 )
|
||||
# false positive: we are using 'find -exec +'
|
||||
# shellcheck disable=SC2038
|
||||
userscripts=$( find misc/userscripts/ -type f -exec grep -lE '[/ ][bd]ash$|[/ ]sh$|[/ ]ksh$' {} + | xargs )
|
||||
IFS=" " read -r -a scripts <<< "$dev_scripts $userscripts"
|
||||
docker run \
|
||||
|
Loading…
Reference in New Issue
Block a user