mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
Return the separator
This commit is contained in:
@@ -131,7 +131,7 @@ export function printExecutionTime(commandName: string, startedAt: number, api:
|
||||
|
||||
export function pathToFilename(path: string, pathSeparator: string) {
|
||||
if (path === '/') {
|
||||
return '~root';
|
||||
return pathSeparator;
|
||||
}
|
||||
return path
|
||||
.replace(/~1/g, '/')
|
||||
|
||||
Reference in New Issue
Block a user