mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-05 16:24:41 +09:00
fix(client): validate input response in aiscript
This commit is contained in:
@ -60,7 +60,11 @@ const run = async () => {
|
||||
os.inputText({
|
||||
title: q,
|
||||
}).then(({ canceled, result: a }) => {
|
||||
ok(a);
|
||||
if (canceled) {
|
||||
ok('');
|
||||
} else {
|
||||
ok(a);
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user