MCPcopy
hub / github.com/Unitech/pm2 / needPrefix

Function needPrefix

lib/API/Modules/TAR.js:362–368  ·  view source on GitHub ↗
(conf)

Source from the content-addressed store, hash-verified

360}
361
362function needPrefix(conf) {
363 if ((conf.apps && conf.apps.length > 1) ||
364 (conf.pm2 && conf.pm2.length > 1) ||
365 (conf.apps && conf.apps.length == 1 && conf.name != conf.apps[0].name))
366 return true
367 return false
368}

Callers 2

runInstallFunction · 0.85
startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…