forked from daren.hsu/line_push
update
This commit is contained in:
+1
-1
@@ -70,5 +70,5 @@ export function parsePath (path: string): {
|
||||
}
|
||||
|
||||
export function cleanPath (path: string): string {
|
||||
return path.replace(/\/\//g, '/')
|
||||
return path.replace(/\/(?:\s*\/)+/g, '/')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user