Re-stage files after formatting
This commit is contained in:
parent
d38f8544d5
commit
519e3f014d
1 changed files with 1 additions and 1 deletions
|
|
@ -10,4 +10,4 @@ pre-commit:
|
||||||
gofmt:
|
gofmt:
|
||||||
tags: style
|
tags: style
|
||||||
glob: "*.go"
|
glob: "*.go"
|
||||||
run: gofmt -w {staged_files}
|
run: gofmt -w {staged_files}; git add {staged_files}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue