From 1da986e60952dbda96c6ef53a5514157c0cd528d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1n=20D=C3=A9nes?= Date: Sat, 3 Dec 2022 17:19:51 +0100 Subject: [PATCH] Minor comment fixes --- src/ergogen.js | 2 ++ test/index.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ergogen.js b/src/ergogen.js index 62afa0d..1281258 100644 --- a/src/ergogen.js +++ b/src/ergogen.js @@ -15,6 +15,8 @@ const process = async (raw, debug=false, logger=()=>{}) => { let empty = true let [config, format] = io.interpret(raw, logger) let suffix = format + // KLE conversion warrants automaticly engaging debug mode + // as, usually, we're only interested in the points anyway if (format == 'KLE') { suffix = `${format} (Auto-debug)` debug = true diff --git a/test/index.js b/test/index.js index 9fbf57f..34d4f9c 100644 --- a/test/index.js +++ b/test/index.js @@ -27,7 +27,7 @@ for (const unit of glob.sync(path.join(__dirname, 'unit', '*.js'))) { // Integration tests // the --what switch supports categories (like `points` and `outlines`) -// as well as individual tests using slash-notation (like `points/000`) +// as well as individual tests using slash-notation (like `points/default`) // the --dump switch can output the new results, overriding the old reference const cap = s => s.charAt(0).toUpperCase() + s.slice(1)