This commit is contained in:
Sandeep Somavarapu
2018-04-19 12:12:51 +02:00
parent 8383050186
commit de10301afb

View File

@@ -78,7 +78,7 @@ class ViewsContainersExtensionHandler implements IWorkbenchContribution {
viewsContainersExtensionPoint.setHandler((extensions) => {
for (let extension of extensions) {
const { value, collector } = extension;
if (extension.description.enableProposedApi) {
if (!extension.description.enableProposedApi) {
collector.error(localize('proposed', "'{0}' contribution is only available when running out of dev or with the following command line switch: --enable-proposed-api {1}", 'viewsContainer', extension.description.id));
continue;
}