Allow passing arguments to fmt, do not pass filenames
This commit is contained in:
parent
e06d845e5b
commit
77fcfde371
|
@ -1,10 +1,10 @@
|
|||
- id: fmt
|
||||
name: fmt
|
||||
description: Format files with cargo fmt.
|
||||
entry: cargo fmt --
|
||||
entry: cargo fmt
|
||||
language: system
|
||||
types: [rust]
|
||||
args: []
|
||||
pass_filenames: false
|
||||
- id: cargo-check
|
||||
name: cargo check
|
||||
description: Check the package for errors.
|
||||
|
|
Loading…
Reference in a new issue