Skip to content

Commit 6f07f4a

Browse files
author
José Valim
committed
Create the config directory before writing to config file
1 parent 656bd64 commit 6f07f4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mix/test/mix/tasks/escript_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ defmodule Mix.Tasks.EscriptTest do
5959
Mix.Project.push Escript
6060

6161
in_fixture "escripttest", fn ->
62+
File.mkdir_p! "config"
6263
File.write! "config/config.exs", """
6364
[foobar: [value: "FROM CONFIG"]]
6465
"""

0 commit comments

Comments
 (0)