Skip to content

Commit a76233c

Browse files
Pass filenames with args
1 parent b60ba37 commit a76233c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
entry: cargo fmt
55
language: system
66
types: [rust]
7-
pass_filenames: false
7+
args: ['--']
88
- id: cargo-check
99
name: cargo check
1010
description: Check the package for errors.

0 commit comments

Comments
 (0)