Skip to content

Commit

Permalink
fix: REPL - remove ./ from rel path (#3452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Jul 18, 2024
1 parent b730140 commit 0e03b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/repl/formatPath.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function relative(uri: Uri | string): string {
const rel = vscode.workspace.asRelativePath(uri, false);
if (urlLike.test(rel)) return rel;

return './' + rel.split('\\').join('/');
return rel.split('\\').join('/');
}

export function formatPath(uri: Uri | string, width: number): string {
Expand Down

0 comments on commit 0e03b63

Please sign in to comment.