(ws: WorkspaceMetadata)
| 7 | } |
| 8 | |
| 9 | export function getProjects(ws: WorkspaceMetadata): ProjectRef[] { |
| 10 | if (ws.projects && ws.projects.length > 0) return ws.projects; |
| 11 | return [{ projectPath: ws.projectPath, projectName: ws.projectName }]; |
| 12 | } |
| 13 | |
| 14 | export function createProjectRefs(projectPaths: string[]): ProjectRef[] { |
| 15 | assert(Array.isArray(projectPaths), "createProjectRefs requires a project path array"); |
no outgoing calls
no test coverage detected