Skip to content

Commit

Permalink
Fix strict null check
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Feb 8, 2019
1 parent 51305a6 commit 709bf35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/tsconfig.strictNullChecks.json
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@
"./vs/platform/extensionManagement/node/extensionManagementService.ts",
"./vs/platform/extensionManagement/node/extensionManagementUtil.ts",
"./vs/platform/extensionManagement/node/extensionsManifestCache.ts",
"./vs/platform/extensionManagement/node/multiExtensionManagement.ts",
"./vs/platform/extensionManagement/test/electron-browser/extensionManagement.test.ts",
"./vs/platform/extensions/common/extensionHost.ts",
"./vs/platform/extensions/common/extensions.ts",
Expand Down Expand Up @@ -681,6 +680,7 @@
"./vs/workbench/services/editor/browser/codeEditorService.ts",
"./vs/workbench/services/editor/common/editorGroupsService.ts",
"./vs/workbench/services/editor/common/editorService.ts",
"./vs/workbench/services/extensionManagement/node/multiExtensionManagement.ts",
"./vs/workbench/services/extensions/common/extensionHostProtocol.ts",
"./vs/workbench/services/extensions/common/extensions.ts",
"./vs/workbench/services/extensions/common/extensionsRegistry.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ export class MultiExtensionManagementService extends Disposable implements IExte
}

const remoteEnv = await connection.getEnvironment();
if (!remoteEnv) {
return false;
}

return remoteEnv.syncExtensions;
}
}

0 comments on commit 709bf35

Please sign in to comment.