MCPcopy Create free account
hub / github.com/vercel/vercel / parseAuthFileConfig

Function parseAuthFileConfig

packages/cli-config/src/cli-config.ts:58–61  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

56}
57
58export function parseAuthFileConfig(value: unknown): AuthFileConfig {
59 const { tokenSource, ...authConfig } = parseAuthConfig(value);
60 return authConfig;
61}
62
63function readJsonFileSync(filePath: string): unknown {
64 const content = fs.readFileSync(filePath, 'utf8').replace(/^\uFEFF/, '');

Callers 1

readAuthFileConfigFunction · 0.85

Calls 1

parseAuthConfigFunction · 0.85

Tested by

no test coverage detected