mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 06:13:54 -07:00
utils/webcheck.sh: only check for Perl stuff *once*
This commit is contained in:
parent
a419593501
commit
979a65ddb0
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,6 @@ _check_file() {
|
|||
}
|
||||
|
||||
_simple_check "$_file" || return
|
||||
_perl_check || return
|
||||
_shellcheck < "$_file"
|
||||
}
|
||||
|
||||
|
@ -95,6 +94,8 @@ case "${1:-}" in
|
|||
""|"help"|"-h"|"--help") _help; exit ;;
|
||||
esac
|
||||
|
||||
_perl_check || exit 1
|
||||
|
||||
while (( $# )); do
|
||||
echo >&2 ":: Checking '${1}'..."
|
||||
_check_file "${1}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue