mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 12:47:48 +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) {
|
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, '/')
|
||||||
|
|||||||
Reference in New Issue
Block a user