Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
making sure i'm using the matched editor
Browse files Browse the repository at this point in the history
  • Loading branch information
tampajohn committed Dec 8, 2015
1 parent d7f9d17 commit b7113b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goCover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export function removeCodeCoverage(e: vscode.TextDocumentChangeEvent) {
}
for(var filename in coverageFiles) {
if (editor.document.uri.fsPath.endsWith(filename)) {
highlightCoverage(vscode.window.activeTextEditor, coverageFiles[filename], true);
highlightCoverage(editor, coverageFiles[filename], true);
delete coverageFiles[filename];
}
}
Expand Down

0 comments on commit b7113b3

Please sign in to comment.