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 ba88ee7 commit ee3fcdbCopy full SHA for ee3fcdb
lib/mix/lib/mix/utils.ex
@@ -343,7 +343,7 @@ defmodule Mix.Utils do
343
symlink_source = make_relative_path(source, target)
344
case :file.make_symlink(symlink_source, target) do
345
:ok -> :ok
346
- { :error, _ } -> File.cp_r!(source, Path.join(target, "."))
+ { :error, _ } -> File.cp_r!(source, Path.dirname(target))
347
end
348
349
0 commit comments