mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
do not dump module with God.
This commit is contained in:
parent
28734043cf
commit
7f0164a67a
@ -137,7 +137,9 @@ module.exports = function(God) {
|
||||
return fin(null);
|
||||
delete apps[0].pm2_env.instances;
|
||||
delete apps[0].pm2_env.pm_id;
|
||||
process_list.push(apps[0].pm2_env);
|
||||
// Do not dump modules
|
||||
if (!apps[0].pm2_env.pmx_module)
|
||||
process_list.push(apps[0].pm2_env);
|
||||
apps.shift();
|
||||
return saveProc(apps);
|
||||
})(apps);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user