Skip to content

Commit

Permalink
handle dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
tjchambers committed Nov 26, 2024
1 parent ef0c034 commit 5449c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_unit_jumpstart/create_files.ex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ defmodule ExUnitJumpstart.CreateFiles do
String.replace(test_file.path, "_test.exs", ".ex") == code_file.path
end)

unless test_file do
unless test_file or config.dry_run do
IO.puts("Creating test file for #{code_file.path}")
create_test_file(config, code_file)
end
Expand Down

0 comments on commit 5449c9b

Please sign in to comment.