Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

complete verbose mode todo (#4591)

Patrick Moulden81cbf9353164
diff --git a/tasks/build-options/validateConfigs.js b/tasks/build-options/validateConfigs.js
index 3381117f2..a346ce284 100644
--- a/tasks/build-options/validateConfigs.js
+++ b/tasks/build-options/validateConfigs.js
@@ -69,8 +69,7 @@ async function validateFile (filePath) {
for (error of validate.errors) {
invalidJsonFiles.push(error)
console.error(`${prog}: ERROR: ${error.instancePath} ${error.message}`)
- // TOD: Add verbose mode with the full error:
- // console.error(error)
+ if (argv.mode === 'verbose') console.error(error)
}
}
}