diff options
| m--------- | core/src/tbox/tbox | 0 | ||||
| -rw-r--r-- | xmake/core/base/utils.lua | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox -Subproject bfdcc33776c7e3c602ac7a4081ad17a365c02d8 +Subproject eb29b093abfeb7db2d7ae95892a055749df17af diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index 58721cc1e..878ca3c16 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -319,7 +319,7 @@ function utils.confirm(opt) -- get answer io.flush() - confirm = option.boolean(io.read():trim()) + confirm = option.boolean((io.read() or "false"):trim()) if type(confirm) ~= "boolean" then confirm = default end |
