mango-cms 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -1
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -465,7 +465,7 @@ async function managePM2Process(settings) {
|
|
|
465
465
|
|
|
466
466
|
try {
|
|
467
467
|
// Check if process exists
|
|
468
|
-
const processListOutput = execSync('pm2 list
|
|
468
|
+
const processListOutput = execSync('pm2 list', { encoding: 'utf8' });
|
|
469
469
|
const processExists = processListOutput.includes(processName);
|
|
470
470
|
|
|
471
471
|
if (processExists) {
|