-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
BinaryBuilder.jl/src/wizard/utils.jl
Lines 48 to 57 in f20e6d0
| function nonempty_line_prompt(name, msg; outs=stdout, kwargs...) | |
| while true | |
| val = line_prompt(name, msg; outs=outs, kwargs...) | |
| if isempty(val) | |
| printstyled(outs, "$(name) may not be empty!\n", color=:red) | |
| continue | |
| end | |
| return val | |
| end | |
| end |
To reproduce:
- Run the wizard
- Go to step 2
- When the prompt asks you to enter a URL, press
Ctrl-D - Infinite loop starts