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 743942f commit 0c35fe2Copy full SHA for 0c35fe2
priv/hook_template
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
3
-[ "$project_path" != "" ] && cd $project_path
+[ "$project_path" != "" ] && cd "$project_path"
4
5
$mix_path git_hooks.run $git_hook "$@"
6
[ $? -ne 0 ] && exit 1
test/mix/tasks/git_hooks/install_test.exs
@@ -34,7 +34,7 @@ defmodule Mix.Tasks.InstallTest do
34
35
~s(#!/bin/sh
36
37
-[ "#{app_path}" != "" ] && cd #{app_path}
+[ "#{app_path}" != "" ] && cd "#{app_path}"
38
39
mix git_hooks.run #{git_hook} "$@"
40
0 commit comments