mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
make sure that the falsy value for the activeTextEditor is undefined, #5022
This commit is contained in:
@@ -77,7 +77,7 @@ export class ExtHostEditors {
|
||||
}
|
||||
|
||||
getActiveTextEditor(): vscode.TextEditor {
|
||||
return this._activeEditorId && this._editors[this._activeEditorId];
|
||||
return this._editors[this._activeEditorId];
|
||||
}
|
||||
|
||||
getVisibleTextEditors(): vscode.TextEditor[] {
|
||||
|
||||
Reference in New Issue
Block a user