We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 762754e commit 141aa85Copy full SHA for 141aa85
src/vs/workbench/api/common/extHost.api.impl.ts
@@ -1359,7 +1359,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
1359
},
1360
onDidStartTask: (listeners, thisArgs?, disposables?) => {
1361
if (!isProposedApiEnabled(extension, 'taskExecutionTerminal')) {
1362
- thisArgs.terminal = undefined;
+ if (thisArgs) {
1363
+ thisArgs.terminal = undefined;
1364
+ }
1365
}
1366
return _asExtensionEvent(extHostTask.onDidStartTask)(listeners, thisArgs, disposables);
1367
0 commit comments