Skip to content

Commit f2b0f31

Browse files
committed
Avoid compilation warnings
1 parent 1d054b6 commit f2b0f31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/iex/lib/iex/config.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ defmodule IEx.Config do
1616

1717
# Generate a continuation prompt based on IEx prompt.
1818
# This is set as global configuration on app start.
19+
@compile {:no_warn_undefined, :prim_tty}
1920
def prompt(prompt) do
2021
case Enum.split_while(prompt, &(&1 != ?()) do
2122
# It is not the default Elixir shell, so we use the default prompt

0 commit comments

Comments
 (0)