1
0

Minor comment fixes

This commit is contained in:
Bán Dénes 2022-12-03 17:19:51 +01:00
parent cf9007aa50
commit 1da986e609
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)