Skip to content

Commit

Permalink
Undo unnecessary cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed May 18, 2023
1 parent 64ee37a commit c2df3b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/vs/workbench/api/common/extHostExtensionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -522,10 +522,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
checkProposedApiEnabled(extensionDescription, 'extensionRuntime');
return that.extensionRuntime;
},
get environmentVariableCollection() {
// TODO: Remove `as` cast once workspace collection proposal is finalized.
return (that._extHostTerminalService.getEnvironmentVariableCollection(extensionDescription) as vscode.EnvironmentVariableCollection);
},
get environmentVariableCollection() { return that._extHostTerminalService.getEnvironmentVariableCollection(extensionDescription); },
get messagePassingProtocol() {
if (!messagePassingProtocol) {
if (!messagePort) {
Expand Down

0 comments on commit c2df3b7

Please sign in to comment.