Fix formatting calls.

This commit is contained in:
Craig Everett 2019-12-21 17:15:21 +09:00
parent cb91f268d7
commit 14c61ef048

View File

@ -1383,12 +1383,12 @@ create_check(P = #project{id = PackageID}) ->
"~nHmmm...~n" "~nHmmm...~n"
"zx_daemon wasn't able to find out (network problem?) whether this " "zx_daemon wasn't able to find out (network problem?) whether this "
"package already exists.~n" "package already exists.~n"
"What do?", "What do?~n",
ok = io:format(Message), ok = io:format(Message),
Options = [{"Continue anyway.", 1}, Options = [{"Continue anyway.", 1},
{"Check again.", 2}, {"Check again.", 2},
{"Abort and do it later.", 3}], {"Abort and do it later.", 3}],
case zx_tty:selet(Options) of case zx_tty:select(Options) of
1 -> create_project(P); 1 -> create_project(P);
2 -> create_check(P); 2 -> create_check(P);
3 -> ok 3 -> ok