@altangent/config-manager
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@altangent/config-manager", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Config file loader", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -20,7 +20,5 @@ const fs = require('fs'); | ||
console.log('loading', configPath); | ||
let config = require(configPath); | ||
if (!config.mysql || !config.redis) throw new Error('Invalid config file'); | ||
return config | ||
return config; | ||
} | ||
@@ -27,0 +25,0 @@ |
1472
41