Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_pm2Connect () {
if (!this.pm2ConnectionPromise) {
this.pm2ConnectionPromise = pm2.connectAsync(true)
}
return this.pm2ConnectionPromise
}