Skip to content

🎧 Your Personal Streaming Service

Re-stage files after formatting

Deluan519e3f014d4d
diff --git a/lefthook.yml b/lefthook.yml
index 5e2d8a449..fbe01151d 100644
--- a/lefthook.yml
+++ b/lefthook.yml
@@ -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}