core: add limit to problem.getPrefixList

This commit is contained in:
undefined committed 2022-09-20 01:41:53 +08:00
1 parent ca670a2f12
commit 10dd5d28d5
5 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ async function executeCommand(input: string) {
}
process.stdin.setEncoding('utf-8');
if (process.stdin.setRawMode) process.stdin.setRawMode(false);
process.stdin.setRawMode?.(false);
process.stdin.on('data', (buf) => {
const input = buf.toString();
executeCommand(input);