MCPcopy
hub / github.com/prisma/prisma / getOutputPath

Function getOutputPath

packages/client-generator-ts/src/generator.ts:23–28  ·  view source on GitHub ↗
(config: GeneratorConfig)

Source from the content-addressed store, hash-verified

21`
22
23function getOutputPath(config: GeneratorConfig): string {
24 if (!config.output) {
25 throw new Error(missingOutputErrorMessage)
26 }
27 return parseEnvValue(config.output)
28}
29
30export class PrismaClientTsGenerator implements Generator {
31 readonly name = 'prisma-client-ts'

Callers 2

getManifestMethod · 0.85
generateMethod · 0.85

Calls 1

parseEnvValueFunction · 0.90

Tested by

no test coverage detected