You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -158,7 +149,7 @@ defmodule LivebookCLI.Server do
158
149
end
159
150
160
151
defpopen_from_args(base_url,["new"])do
161
-
IO.warn(~s/passing "new" as an argument is deprecated, use "@new" instead/,[])
152
+
log_warning(~s/passing "new" as an argument is deprecated, use "@new" instead/)
162
153
open_from_args(base_url,["@new"])
163
154
end
164
155
@@ -183,9 +174,7 @@ defmodule LivebookCLI.Server do
183
174
end
184
175
185
176
defpopen_from_args(_base_url,_extra_args)do
186
-
print_error(
187
-
"Too many arguments entered. Ensure only one argument is used to specify the file path and all other arguments are preceded by the relevant switch"
188
-
)
177
+
raise"Too many arguments entered. Ensure only one argument is used to specify the file path and all other arguments are preceded by the relevant switch"
189
178
end
190
179
191
180
@switches[
@@ -237,8 +226,4 @@ defmodule LivebookCLI.Server do
0 commit comments