(projects: string[] | undefined)
| 258 | } |
| 259 | |
| 260 | function getProjectFilenameValues(projects: string[] | undefined): string[] { |
| 261 | if (!Array.isArray(projects)) { |
| 262 | return []; |
| 263 | } |
| 264 | |
| 265 | return projects |
| 266 | .map((project) => getProjectDisplayName(project).trim()) |
| 267 | .filter((project) => project.length > 0) |
| 268 | .map((project) => sanitizeForFilename(project)); |
| 269 | } |
| 270 | |
| 271 | function getProjectId(projectName: string | undefined): string { |
| 272 | if (!projectName) { |
no test coverage detected