Remove dev flags (#4707)

* remove more dev flags

* formatting
This commit is contained in:
Anthony Dresser
2019-03-26 11:44:59 -07:00
committed by GitHub
parent 0d8ef9583b
commit bceeda1cfd
4 changed files with 6 additions and 11 deletions

View File

@@ -85,9 +85,6 @@ class DataExplorerContainerExtensionHandler implements IWorkbenchContribution {
}
private handleAndRegisterCustomViews() {
if (process.env.NODE_ENV !== 'development') {
return;
}
dataExplorerExtensionPoint.setHandler(extensions => {
for (let extension of extensions) {
const { value, collector } = extension;

View File

@@ -32,9 +32,7 @@ import { Registry } from 'vs/platform/registry/common/platform';
export class DataExplorerViewletViewsContribution implements IWorkbenchContribution {
constructor() {
if (process.env.NODE_ENV === 'development') {
this.registerViews();
}
this.registerViews();
}
private registerViews(): void {
@@ -55,7 +53,7 @@ export class DataExplorerViewletViewsContribution implements IWorkbenchContribut
}
}
export class DataExplorerViewlet extends ViewContainerViewlet {
export class DataExplorerViewlet extends ViewContainerViewlet {
private root: HTMLElement;
private dataSourcesBox: HTMLElement;