Fix default path-to-namespace transformer
parent
2b689b76f5
commit
8df5b157a2
|
@ -184,7 +184,7 @@ function pathToNamespace(path) {
|
||||||
name: pathObj.name,
|
name: pathObj.name,
|
||||||
})
|
})
|
||||||
// TODO: replace invalid chars.
|
// TODO: replace invalid chars.
|
||||||
.replace('/', '.');
|
.replace(/\//g, '.');
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = Collector;
|
module.exports = Collector;
|
||||||
|
|
Loading…
Reference in New Issue