MCPcopy
hub / github.com/prisma/prisma / getStudioAssetDirectories

Function getStudioAssetDirectories

packages/cli/src/Studio.ts:658–660  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

656}
657
658function getStudioAssetDirectories(): string[] {
659 return [...new Set([__dirname, join(__dirname, '..', 'build')])]
660}
661
662function isNotFoundError(error: unknown): error is NodeJS.ErrnoException {
663 return typeof error === 'object' && error !== null && 'code' in error && error.code === 'ENOENT'

Callers 1

readStudioAssetFunction · 0.85

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected