1
0
Fork 0
mirror of https://github.com/vuejs/awesome-vue.git synced 2025-07-31 21:59:54 -04:00

Properly handle forward slashes in group names

This commit is contained in:
An Phan 2016-06-22 17:26:48 +08:00
parent b5a8b40354
commit 73773a7ab7

View file

@ -36,6 +36,9 @@ function parseDir(filename) {
return parseDir(`${filename}/${child}`)
})
// An ugly hardcode here to make sure forward slashes are treated properly
info.name = info.name.replace(/:/g, '/')
return info
}