Skip to content

Commit

Permalink
Merge pull request #258 from alexjbest/master
Browse files Browse the repository at this point in the history
use URI file instead of path so that the scheme gets set properly on windows
  • Loading branch information
gebner authored Feb 11, 2021
2 parents b148537 + 7c0b1da commit ea0206b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/infoview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export class InfoProvider implements Disposable {
this.handleServerRequest(message);
return;
case 'reveal':
await this.revealEditorPosition(Uri.parse(message.loc.file_name), message.loc.line, message.loc.column);
await this.revealEditorPosition(Uri.file(message.loc.file_name), message.loc.line, message.loc.column);
return;
case 'sync_pin':
this.pins = message.pins;
Expand Down

0 comments on commit ea0206b

Please sign in to comment.