Skip to content

Commit

Permalink
Sort requires in partial envs (#2134)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko authored Aug 2, 2023
1 parent 4a5d6da commit 926a359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/livebook/runtime/evaluator.ex
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ defmodule Livebook.Runtime.Evaluator do
defp prune_env(env, tracer_info) do
env
|> Map.replace!(:aliases, Map.to_list(tracer_info.aliases_defined))
|> Map.replace!(:requires, MapSet.to_list(tracer_info.requires_defined))
|> Map.replace!(:requires, Enum.sort(tracer_info.requires_defined))
|> Map.replace!(:context_modules, Map.keys(tracer_info.modules_defined))
end

Expand Down

0 comments on commit 926a359

Please sign in to comment.