Skip to content

Commit

Permalink
Create parent directories for json docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mononym committed Aug 6, 2019
1 parent 71602c2 commit df89d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/excoveralls/json.ex
Expand Up @@ -36,7 +36,7 @@ defmodule ExCoveralls.Json do
defp write_file(content, output_dir) do
file_path = output_dir(output_dir)
unless File.exists?(file_path) do
File.mkdir!(file_path)
File.mkdir_p!(file_path)
end
File.write!(Path.expand(@file_name, file_path), content)
end
Expand Down

0 comments on commit df89d71

Please sign in to comment.