MCPcopy
hub / github.com/prisma/prisma / resolvePath

Function resolvePath

packages/config/src/loadConfigFromFile.ts:263–269  ·  view source on GitHub ↗
(value: string | undefined)

Source from the content-addressed store, hash-verified

261 resolvedPath: string,
262): PrismaConfigInternal {
263 function resolvePath(value: string | undefined) {
264 if (!value) {
265 return undefined
266 }
267
268 return path.resolve(path.dirname(resolvedPath), value)
269 }
270
271 return {
272 ...prismaConfig,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected