@leing2021/super-pi 0.23.6 → 0.23.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ export function createAskUserQuestionTool() {
|
|
|
32
32
|
: { answer, mode: "input" }
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
const allowCustom = input.allowCustom ??
|
|
35
|
+
const allowCustom = input.allowCustom ?? true
|
|
36
36
|
const selectOptions = allowCustom ? [...options, CUSTOM_OPTION] : options
|
|
37
37
|
const selected = await ui.select(input.question, selectOptions)
|
|
38
38
|
|