Skip to content

Commit db6aadb

Browse files
committed
fix: Use a proper 'file' schema for uris
1 parent d97c8e8 commit db6aadb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ql-vscode/src/query-history.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class QueryHistoryManager {
192192

193193
async handleShowQueryLog(queryHistoryItem: CompletedQuery) {
194194
if (queryHistoryItem.logFileLocation) {
195-
const uri = vscode.Uri.parse(queryHistoryItem.logFileLocation);
195+
const uri = vscode.Uri.file(queryHistoryItem.logFileLocation);
196196
try {
197197
await vscode.window.showTextDocument(uri, {
198198
});

0 commit comments

Comments
 (0)