Browse Source

tweak: fix "all" option

KernelDeimos 5 tháng trước cách đây
mục cha
commit
0a1be464d1
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 1 6
      tools/comment-writer/main.js

+ 1 - 6
tools/comment-writer/main.js

@@ -625,13 +625,8 @@ const main = async () => {
         }
 
         if ( action.action === 'all' ) {
-            limit = await enq.prompt({
-                type: 'input',
-                name: 'limit',
-                message: 'Enter limit:'
-            });
             i = 1;
-            limit = Number(limit.limit);
+            limit = Infinity;
         }
 
         const { definitions } = js_processor.process(lines);