Skip to content

Commit

Permalink
Pass proper path to consolidation in IEx recompile
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Aug 20, 2024
1 parent 0678be6 commit 79667c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iex/lib/iex/helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ defmodule IEx.Helpers do
reenable_tasks(config)

force? = Keyword.get(options, :force, false)
args = ["--purge-consolidation-path-if-stale", "--return-errors", consolidation]
args = ["--purge-consolidation-path-if-stale", consolidation, "--return-errors"]
args = if force?, do: ["--force" | args], else: args

{result, _} = Mix.Task.run("compile", args)
Expand Down

0 comments on commit 79667c6

Please sign in to comment.