chore: remove message about processes not saved

This commit is contained in:
Unitech 2020-06-30 09:54:02 +02:00
parent 374fd39072
commit 9233ea59de

View File

@ -24,10 +24,10 @@ function checkIfProcessAreDumped(list) {
.map(proc => proc.name)
var diff = apps_dumped.filter(a => !apps_running.includes(a))
if (diff.length > 0) {
Common.warn(`Current process list running is not in sync with saved list. ${chalk.italic(diff.join(' '))} differs. Type 'pm2 save' to synchronize.`)
Common.printOut(`Current process list running is not in sync with saved list. ${chalk.italic(diff.join(' '))} differs. Type 'pm2 save' to synchronize.`)
}
else if (apps_dumped.length != apps_running.length) {
Common.warn(`Current process list running is not in sync with saved list. Type 'pm2 save' to synchronize'`)
Common.printOut(`Current process list running is not in sync with saved list. Type 'pm2 save' to synchronize'`)
}
} catch(e) {
}
@ -459,5 +459,5 @@ module.exports = function(list, sys_infos) {
miniMonitBar(sys_infos)
}
checkIfProcessAreDumped(list)
//checkIfProcessAreDumped(list)
}