Skip to content

Commit

Permalink
fix: fix pre-commit command for fish shell (#1719)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo authored Jan 15, 2025
1 parent 7acc26c commit f90587b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ repos:
hooks:
- id: fmt
name: fmt
entry: rustfmt --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate,skip_children=true" $(git ls-files '*.rs')
entry: bash -c 'rustfmt --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate,skip_children=true" $(git ls-files '*.rs')'
language: system
types: [rust]

0 comments on commit f90587b

Please sign in to comment.