We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 008746d commit 9f28e4cCopy full SHA for 9f28e4c
packages/core/src/awsService/cloudWatchLogs/commands/tailLogGroup.ts
@@ -107,8 +107,7 @@ function formatLogEvent(logEvent: LiveTailSessionLogEvent): string {
107
//This allows for newly added log events to stay in view.
108
function getTextEditorsToScroll(document: vscode.TextDocument): vscode.TextEditor[] {
109
return vscode.window.visibleTextEditors.filter((editor) => {
110
- const isEditorForSession = editor.document === document
111
- if (!isEditorForSession) {
+ if (editor.document !== document) {
112
return false
113
}
114
return editor.visibleRanges[0].contains(new vscode.Position(document.lineCount - 1, 0))
0 commit comments