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

Function getRcLocalPath

packages/util/src/rc/index.js:66–67  ·  view source on GitHub ↗
(baseFilename)

Source from the content-addressed store, hash-verified

64 * Get various possible .{baseFilename}rc file paths
65 */
66const getRcLocalPath = (baseFilename) =>
67 path.join(process.cwd(), getRcFileName(baseFilename))
68const getRcDefaultPath = (baseFilename = 'serverless') =>
69 path.join(os.homedir(), getRcFileName(baseFilename))
70const getRcDefaultConfigPath = (baseFilename) =>

Callers 1

getRcLocalConfigFunction · 0.85

Calls 1

getRcFileNameFunction · 0.85

Tested by

no test coverage detected