Fix default path-to-namespace transformer

master
Paul Loyd 2017-11-03 17:35:35 +03:00
parent 2b689b76f5
commit 8df5b157a2
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ function pathToNamespace(path) {
name: pathObj.name,
})
// TODO: replace invalid chars.
.replace('/', '.');
.replace(/\//g, '.');
}
module.exports = Collector;