getSubDir() path bug when dot is present
tj opened this issue · 0 comments
tj commented
Thanks for the package! Seems like the quickest one so far :D
Just thought I'd mention that the strings.Replace
in there is greedy, for example an npm package of node_modules/graph.ql/lib/index.js
will have the root .
replaced leading to graphql