fix: hook entry

This commit is contained in:
Fadi Hadzh 2017-12-30 01:32:34 +03:00
parent 2869d1c905
commit d00f8d4c0d
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
- id: fmt - id: fmt
name: fmt name: fmt
description: Format files with rustfmt. description: Format files with rustfmt.
entry: cargo fmt entry: cargo fmt --
language: system language: system
files: \.rs$ files: \.rs$
args: ['--write-mode=overwrite'] args: ['--write-mode=overwrite']

View file

@ -1,7 +1,7 @@
- id: fmt - id: fmt
name: fmt name: fmt
description: Format files with rustfmt. description: Format files with rustfmt.
entry: cargo fmt entry: cargo fmt --
language: system language: system
files: \.rs$ files: \.rs$
args: ['--write-mode=overwrite'] args: ['--write-mode=overwrite']