mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
indent
This commit is contained in:
parent
f8cb6be6f4
commit
a7d720e942
@ -234,9 +234,9 @@ Common.parseConfig = function(confObj, filename) {
|
||||
return yamljs.parse(confObj.toString());
|
||||
}
|
||||
else if (filename.indexOf('.config.js') > -1) {
|
||||
var confPath = require.resolve(path.resolve(filename));
|
||||
delete require.cache[confPath];
|
||||
return require(confPath);
|
||||
var confPath = require.resolve(path.resolve(filename));
|
||||
delete require.cache[confPath];
|
||||
return require(confPath);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user