Re-stage files after formatting

This commit is contained in:
Deluan 2020-04-08 13:23:39 -04:00
parent d38f8544d5
commit 519e3f014d

View File

@ -10,4 +10,4 @@ pre-commit:
gofmt:
tags: style
glob: "*.go"
run: gofmt -w {staged_files}
run: gofmt -w {staged_files}; git add {staged_files}