mirror of
https://github.com/EvolutionAPI/evolution-manager.git
synced 2025-12-22 20:42:17 -06:00
add verbose to cli
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
const { exec } = require('child_process');
|
||||
const { verbose } = require('./verbose.js')
|
||||
|
||||
module.exports = async (install = false) => {
|
||||
verbose('🗣️ Verifying PM2 installation')
|
||||
return new Promise((resolve, reject) => {
|
||||
exec('pm2 -v', async (err) => {
|
||||
if (err) {
|
||||
|
||||
Reference in New Issue
Block a user