Open acdha opened 4 years ago
The way shellcheck.sh works causes it to fail when a file has a space in the filename. $files should probably be an array which each element is appended to:
$files
https://github.com/gruntwork-io/pre-commit/blob/master/hooks/shellcheck.sh#L29
The way shellcheck.sh works causes it to fail when a file has a space in the filename.
$files
should probably be an array which each element is appended to:https://github.com/gruntwork-io/pre-commit/blob/master/hooks/shellcheck.sh#L29