mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 22:37:41 +00:00
hygiene
This commit is contained in:
parent
1aea998b48
commit
a6b89e14f8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue