Skip to content

Commit fb88346

Browse files
committed
fix(dev): normalize temporary vp home paths in snaps
1 parent b614e54 commit fb88346

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tools/src/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export function replaceUnstableOutput(output: string, cwd?: string) {
2929
replacePathToken(cwd, '<cwd>');
3030
const parent = path.dirname(cwd);
3131
if (parent !== '/') {
32+
replacePathToken(path.join(parent, 'vite-plus-home'), '<vite-plus-home>');
3233
replacePathToken(parent, '<cwd>/..');
3334
}
3435
}

0 commit comments

Comments
 (0)