mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
hygiene
This commit is contained in:
@@ -150,10 +150,10 @@ export class FocusActiveGroupAction extends Action {
|
||||
}
|
||||
|
||||
public run(): TPromise<any> {
|
||||
const activeEditor = this.editorService.getActiveEditor();
|
||||
if (activeEditor) {
|
||||
const activeEditor = this.editorService.getActiveEditor();
|
||||
if (activeEditor) {
|
||||
activeEditor.focus();
|
||||
}
|
||||
}
|
||||
|
||||
return TPromise.as(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user