We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221e8b3 commit 3e3a07eCopy full SHA for 3e3a07e
src/util/path.js
@@ -70,5 +70,5 @@ export function parsePath (path: string): {
70
}
71
72
export function cleanPath (path: string): string {
73
- return path.replace(/\/\//g, '/')
+ return path.replace(/\/+/g, '/')
74
0 commit comments