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
See here for example.
This is true for all with_<x>_input() methods.
The idea is to allow supplying Option<String> for a default prompt.
However, currently if the default prompt is None, the default prompt from dialoguer is an empty string.
To fix this:
only add .default() to the Input object if the default_value is Some
The text was updated successfully, but these errors were encountered:
See here for example.
This is true for all
with_<x>_input()
methods.The idea is to allow supplying
Option<String>
for a default prompt.However, currently if the default prompt is
None
, the default prompt fromdialoguer
is an empty string.To fix this:
only add
.default()
to theInput
object if thedefault_value
isSome
The text was updated successfully, but these errors were encountered: