mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
chore: remove message about processes not saved
This commit is contained in:
parent
374fd39072
commit
9233ea59de
@ -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)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user