MCPcopy Create free account
hub / github.com/ShipSecAI/studio / getInstanceEnvFile

Function getInstanceEnvFile

pm2.config.cjs:268–270  ·  view source on GitHub ↗
(appName, instance)

Source from the content-addressed store, hash-verified

266
267// Helper to get instance-specific env file path
268function getInstanceEnvFile(appName, instance) {
269 return __dirname + `/.instances/instance-${instance}/${appName}.env`;
270}
271
272// Helper to get instance-specific ports
273function getInstancePort(basePort, instance) {

Callers 1

resolveEnvFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected