Skip to content

Commit c6ba7fd

Browse files
committed
Fix non-optional fields
1 parent 1207aca commit c6ba7fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/prompts/password.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ let rec loop ~validate ~term ~impl:(module I : Impl.M) message =
3535
Lwt.return r
3636
| Error e ->
3737
LTerm.fprintls term (I.make_error e) >>= fun () ->
38-
loop message ?validate ~term ~impl:(module I)
38+
loop message ~validate ~term ~impl:(module I)
3939
in
4040
let prompt = I.make_prompt message in
4141
(new read_password prompt ~term)#run >>= fun password ->
4242
match Zed_string.to_utf8 password with
4343
| "" ->
4444
let error_str = I.make_error "You need to enter a password" in
4545
LTerm.fprintls term error_str >>= fun () ->
46-
loop message ?validate ~term ~impl:(module I)
46+
loop message ~validate ~term ~impl:(module I)
4747
| password ->
4848
validate_input password
4949

0 commit comments

Comments
 (0)