diff --git a/packages/client/src/repl/formatPath.mts b/packages/client/src/repl/formatPath.mts index dbbc7a6f00..f5629a7042 100644 --- a/packages/client/src/repl/formatPath.mts +++ b/packages/client/src/repl/formatPath.mts @@ -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 {