better warning when no config.json

This commit is contained in:
Klemek
2019-06-22 14:38:59 +02:00
parent 0d173cfcef
commit 35a7747d6d
+1 -1
View File
@@ -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;
}
};