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

Function createMissingCredentialsError

packages/cli-auth/credentials-store.ts:210–216  ·  view source on GitHub ↗
(configPath: string)

Source from the content-addressed store, hash-verified

208}
209
210function createMissingCredentialsError(configPath: string): Error {
211 const error = new Error(
212 `ENOENT: no such file or directory, open '${configPath}'`
213 );
214 Object.assign(error, { code: 'ENOENT' });
215 return error;
216}
217
218function writeCredentialsToFile(configPath: string, config: Credentials): void {
219 cliConfig.writeAuthConfigFile(configPath, config);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected