Selaa lähdekoodia

tweak: fix "all" option

KernelDeimos 5 kuukautta sitten
vanhempi
säilyke
0a1be464d1
1 muutettua tiedostoa jossa 1 lisäystä ja 6 poistoa
  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' ) {
         if ( action.action === 'all' ) {
-            limit = await enq.prompt({
-                type: 'input',
-                name: 'limit',
-                message: 'Enter limit:'
-            });
             i = 1;
             i = 1;
-            limit = Number(limit.limit);
+            limit = Infinity;
         }
         }
 
 
         const { definitions } = js_processor.process(lines);
         const { definitions } = js_processor.process(lines);