Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 8bbf89f

Browse files
committed
use last, not first history entry, microsoft/vscode#109293
1 parent 82cfb19 commit 8bbf89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class TreeInputHistory implements vscode.TreeDataProvider<HistoryItem>{
219219
}
220220
}),
221221
vscode.commands.registerCommand('references-view.refresh', () => {
222-
const [item] = this._inputs.values();
222+
const item = Array.from(this._inputs.values()).pop();
223223
if (item) {
224224
this._reRunHistoryItem(item);
225225
}

0 commit comments

Comments
 (0)