mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
enable proposed API only in insiders
This commit is contained in:
@@ -96,7 +96,7 @@ export function createApiFactory(initData: IInitData, threadService: IThreadServ
|
||||
|
||||
if (extension.enableProposedApi) {
|
||||
|
||||
if (initData.environment.isBuilt && !initData.environment.extensionDevelopmentPath) {
|
||||
if (!initData.environment.enableProposedApi) {
|
||||
extension.enableProposedApi = false;
|
||||
console.warn('PROPOSED API is only available when developing an extension');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user