Return the separator

This commit is contained in:
Luke Hagar
2025-10-24 18:47:22 -05:00
committed by GitHub
parent 3003f7f8d3
commit 901f5120ec

View File

@@ -131,7 +131,7 @@ export function printExecutionTime(commandName: string, startedAt: number, api:
export function pathToFilename(path: string, pathSeparator: string) { export function pathToFilename(path: string, pathSeparator: string) {
if (path === '/') { if (path === '/') {
return '~root'; return pathSeparator;
} }
return path return path
.replace(/~1/g, '/') .replace(/~1/g, '/')