(workspace: Workspace, workingDirectory: string | undefined)
| 156 | } |
| 157 | |
| 158 | resolveWorkingDirectory(workspace: Workspace, workingDirectory: string | undefined): string { |
| 159 | const directory = workingDirectory ? this.resolvePath(workspace, workingDirectory) : workspace.root; |
| 160 | return assertAllowedPath(directory, [workspace.root]); |
| 161 | } |
| 162 | |
| 163 | private async openCheckoutWorkspace(path: string): Promise<WorkspaceContext> { |
| 164 | const root = assertAllowedPath(path, this.config.allowedRoots); |
no test coverage detected