From 4bc1e8c4c90d845e848ca56e0594a9d06a1f1c34 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Fri, 6 May 2022 16:08:54 -0400 Subject: [PATCH] Work on copy config if needed. --- app/js/aether_native_app_v3.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/js/aether_native_app_v3.js b/app/js/aether_native_app_v3.js index 325356c..8a4b125 100644 --- a/app/js/aether_native_app_v3.js +++ b/app/js/aether_native_app_v3.js @@ -28,7 +28,8 @@ exports.load_config = function () { // let config = null; let config_directory = null; - let default_config_path = path.join(process.cwd(),'config.json.default'); + // let default_config_path = path.join(process.cwd(),'config.json.default'); + let default_config_path = 'config.json.default'; console.log(default_config_path); let config_path = null; @@ -78,8 +79,7 @@ exports.load_config = function () { //console.log('Config file (config.json) not found under '+config_directory+'. Using config in CWD.'); //config = JSON.parse(fs.readFileSync('config.json')); } else { - console.log('Unknown'); - //close(); + console.log('Can not find a config file.'); return false; }