MCPcopy Create free account
hub / github.com/serverless/serverless / getRcDefaultPath

Function getRcDefaultPath

packages/util/src/rc/index.js:68–69  ·  view source on GitHub ↗
(baseFilename = 'serverless')

Source from the content-addressed store, hash-verified

66const getRcLocalPath = (baseFilename) =>
67 path.join(process.cwd(), getRcFileName(baseFilename))
68const getRcDefaultPath = (baseFilename = 'serverless') =>
69 path.join(os.homedir(), getRcFileName(baseFilename))
70const getRcDefaultConfigPath = (baseFilename) =>
71 path.join(os.homedir(), '.config', getRcFileName(baseFilename))
72

Callers 2

getRcGlobalPathFunction · 0.85

Calls 1

getRcFileNameFunction · 0.85

Tested by

no test coverage detected