MCPcopy
hub / github.com/prisma/prisma / cleanSnapshot

Function cleanSnapshot

packages/cli/src/__tests__/commands/DebugInfo.test.ts:31–34  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

29}
30
31function cleanSnapshot(str: string): string {
32 str = str.replace(new RegExp('(Path: ).*', 'g'), '$1REDACTED_PATH')
33 return str
34}
35
36const envVars = {
37 CI: 'true',

Callers 1

DebugInfo.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected