From 22c1eafb7f60a9721333a6335f2a8d712d60ec59 Mon Sep 17 00:00:00 2001 From: n129bz Date: Tue, 13 Aug 2024 13:07:31 -0500 Subject: [PATCH] args logic change --- make.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make.js b/make.js index 1f95545..7d16e43 100644 --- a/make.js +++ b/make.js @@ -94,11 +94,11 @@ let nm = 0; let arg = process.argv.slice(2); if (arg.length >= 1) { - passedarg = true; if (arg[0] === "*") { resp = arg[0]; } else { + passedarg = true; nm = Number(arg[0]); console.log(`Processing chart number ${nm}`); resp = "1"; @@ -110,7 +110,7 @@ else { } if (resp.length > 0 && resp !== "0" ) { - if (passedarg && resp === "*") { + if (resp === "*") { console.log("\nProcessing all 53 chart areas...\n"); for (var i = 0; i < 53; i++) { parray.push(i);