We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1046a commit dc9c995Copy full SHA for dc9c995
lib/iex/lib/iex/helpers.ex
@@ -1084,7 +1084,7 @@ defmodule IEx.Helpers do
1084
if File.exists?(path) do
1085
IO.puts(IEx.color(:eval_info, Path.absname(path)))
1086
else
1087
- IO.puts(IEx.color(:eval_error, "Not a directory #{path}"))
+ IO.puts(IEx.color(:eval_error, "No such file or directory #{path}"))
1088
end
1089
1090
{:error, reason} ->
lib/iex/test/iex/helpers_test.exs
@@ -1219,7 +1219,7 @@ defmodule IEx.HelpersTest do
1219
path = Path.join("mix.exs", "foo")
1220
1221
assert capture_io(fn -> ls(path) end) ==
1222
- "Not a directory #{path}\n"
+ "No such file or directory #{path}\n"
1223
end)
1224
1225
0 commit comments