Skip to content

Commit cbeb86f

Browse files
committed
fix: CLI prompt message
1 parent fd6e698 commit cbeb86f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ public static function prompt(string $field, $options = null, $validation = null
258258
$input = trim(static::input()) ?: $default;
259259

260260
if ($validation) {
261-
while (! static::validate(trim($field), $input, $validation)) {
261+
while (! static::validate('"' . trim($field) . '"', $input, $validation)) {
262262
$input = static::prompt($field, $options, $validation);
263263
}
264264
}

0 commit comments

Comments
 (0)