From 35a7747d6d67213569504ef7d35b2c133aa9c99f Mon Sep 17 00:00:00 2001 From: Klemek Date: Sat, 22 Jun 2019 14:38:59 +0200 Subject: [PATCH] better warning when no config.json --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index a51b3c7..dca7338 100644 --- a/src/config.js +++ b/src/config.js @@ -25,7 +25,7 @@ module.exports = () => { let config = JSON.parse(configData); return merge(refConfig, config); } catch (error) { - console.error('Failed to load config.json : ' + error); + console.log('\x1b[33m⚠\x1b[0m %s', 'Failed to load config.json : ' + error); return refConfig; } }; \ No newline at end of file