(projectPath: string | null | undefined)
| 485 | const MULTI_PROJECT_WORKSPACES_DISABLED_ERROR = "Multi-project workspaces experiment is disabled"; |
| 486 | |
| 487 | function normalizeRepoRootProjectPath(projectPath: string | null | undefined): string { |
| 488 | const normalizedPath = projectPath?.replaceAll("\\", "/").trim() ?? ""; |
| 489 | if (!normalizedPath) { |
| 490 | return ""; |
| 491 | } |
| 492 | |
| 493 | return stripTrailingSlashes(path.posix.normalize(normalizedPath)); |
| 494 | } |
| 495 | |
| 496 | function normalizeArchiveUntrackedPaths(paths: readonly string[]): string[] { |
| 497 | const normalizedPaths = paths.map((untrackedPath) => { |
no test coverage detected