Skip to content

Commit

Permalink
Removing the --verbose option from the hook, and printing some useful
Browse files Browse the repository at this point in the history
text during formatting.
  • Loading branch information
codetalker7 committed Sep 5, 2023
1 parent aade59d commit 779018f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
julia --color=yes dev/flux_format.jl --verbose .
julia --color=yes dev/flux_format.jl .
1 change: 1 addition & 0 deletions dev/flux_format.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@ else
filenames = ARGS
end

write(stdout, "Formatting in progress.\n")
format(filenames; options...)

0 comments on commit 779018f

Please sign in to comment.