mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
@@ -162,7 +162,7 @@ export class ExtHostTesting implements ExtHostTestingShape {
|
||||
} else {
|
||||
const folder = await this.workspace.getWorkspaceFolder2(uri, false);
|
||||
if (folder) {
|
||||
method = p => p.createWorkspaceTestHierarchy?.(folder);
|
||||
method = p => p.createWorkspaceTestHierarchy(folder);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -323,7 +323,7 @@ export class ExtHostTesting implements ExtHostTestingShape {
|
||||
return;
|
||||
}
|
||||
|
||||
const workspaceHierarchy = provider.createWorkspaceTestHierarchy?.(folder);
|
||||
const workspaceHierarchy = provider.createWorkspaceTestHierarchy(folder);
|
||||
if (!workspaceHierarchy) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user