Skip to content

Commit

Permalink
fix: CLI prompt message
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Sep 25, 2023
1 parent fd6e698 commit cbeb86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/CLI/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ public static function prompt(string $field, $options = null, $validation = null
$input = trim(static::input()) ?: $default;

if ($validation) {
while (! static::validate(trim($field), $input, $validation)) {
while (! static::validate('"' . trim($field) . '"', $input, $validation)) {
$input = static::prompt($field, $options, $validation);
}
}
Expand Down

0 comments on commit cbeb86f

Please sign in to comment.