Skip to content

Commit

Permalink
Merge pull request #194 from mononym/master
Browse files Browse the repository at this point in the history
Update path creation/handling for artifacts
  • Loading branch information
parroty authored Aug 18, 2019
2 parents e14b766 + df89d71 commit db8f935
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/excoveralls/html.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ defmodule ExCoveralls.Html 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)
Expand Down
2 changes: 1 addition & 1 deletion lib/excoveralls/json.ex
Original file line number Diff line number Diff line change
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 db8f935

Please sign in to comment.