소스 검색

tweak: fix "all" option

KernelDeimos 5 달 전
부모
커밋
0a1be464d1
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  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);