Skip to content

Commit 6af7e0c

Browse files
committed
Split the long :elixir.eval line into shorter ones
1 parent 7ff3e1f commit 6af7e0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/iex/lib/iex/server.ex

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,11 @@ defmodule IEx.Server do
100100
code = File.read!(path)
101101

102102
# Evaluate the contents in the same environment do_loop will run in
103-
{ _result, binding, scope } = :elixir.eval(:unicode.characters_to_list(code), config.binding, 0, config.scope)
103+
{ _result, binding, scope } =
104+
:elixir.eval(:unicode.characters_to_list(code),
105+
config.binding,
106+
0,
107+
config.scope)
104108
config.binding(binding).scope(scope)
105109
rescue
106110
exception ->

0 commit comments

Comments
 (0)