()
| 176 | } |
| 177 | |
| 178 | function getActiveFileWorkspaceFolder(): vscode.WorkspaceFolder | undefined { |
| 179 | const currentDocument = vscode.window.activeTextEditor; |
| 180 | if (currentDocument !== undefined) { |
| 181 | return vscode.workspace.getWorkspaceFolder(currentDocument.document.uri); |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | export function getCurrentWorkspaceFolder(): vscode.WorkspaceFolder | undefined { |
| 186 | if (vscode.workspace.workspaceFolders !== undefined) { |
no outgoing calls
no test coverage detected