aligned track to current theia.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2020-07-18 15:54:08 +02:00
parent 540a6215e4
commit 88631a318b

View File

@ -15,10 +15,9 @@ export class ApplicationShell extends TheiaApplicationShell {
@inject(CommandService) @inject(CommandService)
protected readonly commandService: CommandService; protected readonly commandService: CommandService;
protected async track(widget: Widget): Promise<void> { protected track(widget: Widget): void {
if (this.editorMode.proMode) { super.track(widget);
super.track(widget); if (!this.editorMode.proMode) {
} else {
if (widget instanceof EditorWidget && widget.editor.uri.toString().endsWith('arduino-cli.yaml')) { if (widget instanceof EditorWidget && widget.editor.uri.toString().endsWith('arduino-cli.yaml')) {
return; return;
} }