Strict null check extHostQuickOpen

This commit is contained in:
Matt Bierner
2019-03-05 15:02:38 -08:00
parent 8f3cda12e4
commit 14c4fde6d6
5 changed files with 23 additions and 9 deletions

View File

@@ -116,6 +116,9 @@ class ExtensionStoragePath {
return Promise.resolve(undefined);
}
if (!this._environment.appSettingsHome) {
return undefined;
}
const storageName = this._workspace.id;
const storagePath = path.join(this._environment.appSettingsHome.fsPath, 'workspaceStorage', storageName);