Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add confirmation message to show preinstall successful and handle weird line char issues of subsequent code

Ed Plato87a39afa2449
diff --git a/tasks/checkNodeVersion.js b/tasks/checkNodeVersion.js
index bccb309f2..49d6678f9 100755
--- a/tasks/checkNodeVersion.js
+++ b/tasks/checkNodeVersion.js
@@ -37,4 +37,6 @@ if (!satisfiyMinVersion) {
console.log('\x1b[31m', '\x1b[1m'); // Added styling to warn
console.log('WARN ', '\x1b[0m', 'The suggested version of node for the installation of Worldview is', '\x1b[32m', '\x1b[1m', requiredVersionText, '\x1b[0m', ' you are using', '\x1b[32m', '\x1b[1m', nodeVersion);
console.log('\x1b[0m', 'If you have difficulties installing Worldview, please try using the install again using the node version', '\x1b[32m', '\x1b[1m', requiredVersionText, '\x1b[0m');
+} else {
+ console.log('\x1b[0mPreinstall conditions satisfied. Installing...', '\x1b[0m');
}