MCPcopy Index your code
hub / github.com/code-pushup/cli / projectToFilename

Function projectToFilename

packages/utils/src/lib/file-system.ts:140–142  ·  view source on GitHub ↗
(project: string)

Source from the content-addressed store, hash-verified

138}
139
140export function projectToFilename(project: string): string {
141 return project.replace(/[/\\\s]+/g, '-').replace(/@/g, '');
142}
143
144type SplitFilePath = {
145 folders: string[];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected