Skip to content

Commit

Permalink
Update .hookz.yaml
Browse files Browse the repository at this point in the history
Adds the -s flag

Co-authored-by: Julio Jimenez <julio@julioj.com>
  • Loading branch information
djschleen and juliojimenez authored Apr 5, 2021
1 parent c7e8688 commit 56328db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .hookz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
args: ["get", "-u", "./..."]
- name: "Run gofmt to format the code"
exec: gofmt
args: ["-w", "*/*.go"]
args: ["-s", "-w", "**/*.go"]
- name: "Add all changed files during the pre-commit stage"
exec: git
args: ["add", "."]
Expand Down

0 comments on commit 56328db

Please sign in to comment.