We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6030442 commit eeb960eCopy full SHA for eeb960e
lib/mix/tasks/git_hooks/install.ex
@@ -62,6 +62,10 @@ defmodule Mix.Tasks.GitHooks.Install do
62
{:ok, body} ->
63
target_file_path = GitPath.git_hooks_path_for(git_hook_atom_as_kebab_string)
64
65
+ unless opts[:quiet] || !Config.verbose?() do
66
+ Printer.info("Installed git hook: #{target_file_path}")
67
+ end
68
+
69
target_file_body =
70
body
71
|> String.replace("$git_hook", git_hook_atom_as_string)
0 commit comments