mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-17 09:23:39 -05:00
fix(test): fix broken tests
This commit is contained in:
@@ -63,7 +63,7 @@ repos:
|
||||
language: system
|
||||
files: '^test/.*\.bats$'
|
||||
types_or: [shell, bash, sh, zsh]
|
||||
entry: bash -c 'find test/ -maxdepth 1 -name "*.bats" -exec bats -t {} \;'
|
||||
entry: bash -c 'find test/ -maxdepth 1 -name "*.bats" -print0 | xargs -0 -n1 bats -t'
|
||||
pass_filenames: false
|
||||
|
||||
- id: shellcheck
|
||||
|
||||
Reference in New Issue
Block a user