]> git.giacomolli.uk - onechat/blobdiff - bin/format
Back up the daemon and restore its data
[onechat] / bin / format
index 512aca4e4815b54f1d68c1ed6f065d7e90ec0b07..1638d00ed9a185799a2d3a8748c964998b364ea2 100755 (executable)
@@ -7,7 +7,7 @@ files() {
   git ls-files --cached --others --exclude-standard -- "$@"
 }
 
-gofumpt -w .
+files '*.go' | xargs gofumpt -w
 files '*.nix' | xargs nixfmt
 files '*.rst' | xargs rstfmt
 files '*.md' | xargs mdformat