From 9233ea59de4b91793c19e21624806cbbbb9ca9dc Mon Sep 17 00:00:00 2001 From: Unitech Date: Tue, 30 Jun 2020 09:54:02 +0200 Subject: [PATCH] chore: remove message about processes not saved --- lib/API/UX/pm2-ls.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/API/UX/pm2-ls.js b/lib/API/UX/pm2-ls.js index 565fe159..49d22209 100644 --- a/lib/API/UX/pm2-ls.js +++ b/lib/API/UX/pm2-ls.js @@ -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) }