mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix filenames with spaces in them.
This commit is contained in:
parent
061ac81682
commit
2ec7a34035
8 changed files with 25 additions and 7 deletions
5
testing/resources/arg_per_line_hooks_repo/bin/hook.sh
Executable file
5
testing/resources/arg_per_line_hooks_repo/bin/hook.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for i in "$@"; do
|
||||
echo "arg: $i"
|
||||
done
|
||||
5
testing/resources/arg_per_line_hooks_repo/hooks.yaml
Normal file
5
testing/resources/arg_per_line_hooks_repo/hooks.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
- id: arg-per-line
|
||||
name: Args per line hook
|
||||
entry: bin/hook.sh
|
||||
language: script
|
||||
files: ''
|
||||
Loading…
Add table
Add a link
Reference in a new issue