Skip to content

Commit

Permalink
Fix code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Feb 1, 2024
1 parent b624ab8 commit c581983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ defmodule GithubWorkflowsGenerator.MixProject do
"coveralls.detail": :test,
"coveralls.html": :test,
credo: :test,
dialyzer: :test,
sobelow: :test
dialyzer: :test
],
test_coverage: [tool: ExCoveralls],
dialyzer: [
Expand Down
4 changes: 3 additions & 1 deletion test/mix/tasks/github_workflows.generate_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ defmodule Mix.Tasks.GithubWorkflows.GenerateTest do
end

defp create_workflows_file(path) do
File.mkdir_p!(Path.dirname(path))
path
|> Path.dirname()
|> File.mkdir_p!()

File.write!(path, """
defmodule GithubWorkflows do
Expand Down

0 comments on commit c581983

Please sign in to comment.