File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ defmodule Mix.Generator do
1818
1919 iex> Mix.Generator.create_file(".gitignore", "_build\ndeps\n")
2020 * creating .gitignore
21- :ok
21+ true
2222
2323 """
2424 @ spec create_file ( Path . t ( ) , iodata , keyword ) :: boolean ( )
@@ -48,7 +48,7 @@ defmodule Mix.Generator do
4848
4949 iex> Mix.Generator.create_directory("path/to/dir")
5050 * creating path/to/dir
51- :ok
51+ true
5252
5353 """
5454 @ spec create_directory ( Path . t ( ) , keyword ) :: true
@@ -73,7 +73,7 @@ defmodule Mix.Generator do
7373
7474 iex> Mix.Generator.copy_file("source/gitignore", ".gitignore", "_build\ndeps\n")
7575 * creating .gitignore
76- :ok
76+ true
7777
7878 """
7979 @ doc since: "1.9.0"
@@ -99,7 +99,7 @@ defmodule Mix.Generator do
9999
100100 iex> Mix.Generator.copy_template("source/gitignore", ".gitignore", [project_path: path])
101101 * creating .gitignore
102- :ok
102+ true
103103
104104 """
105105 @ doc since: "1.9.0"
You can’t perform that action at this time.
0 commit comments