tweak proposed api check

This commit is contained in:
Johannes Rieken
2018-12-19 16:05:22 +01:00
parent 5fece3f30e
commit 03a2a1effd
@@ -441,7 +441,7 @@ export class ExtensionService extends Disposable implements IExtensionService {
}
const enableProposedApiForAll = !this._environmentService.isBuilt ||
(!!this._environmentService.extensionDevelopmentLocationURI && product.nameLong.indexOf('Insiders') >= 0) ||
(!!this._environmentService.extensionDevelopmentLocationURI && product.nameLong !== 'Visual Studio Code') ||
(enableProposedApiFor.length === 0 && 'enable-proposed-api' in this._environmentService.args);
for (const extension of allExtensions) {