joemfb / mlpm

a MarkLogic package manager
5 stars 2 forks source link

Detection of modules breaks on whitespace in module line #8

Closed grtjn closed 8 years ago

grtjn commented 8 years ago

The moduleRegex in /usr/local/lib/node_modules/mlpm/lib/package.js causes trouble around line 45. I was trying to install taskbot package, but that contains a module with a space between the last ", and the ending semi-colon. Adding an extra \s* in the regex solved the issue..

joemfb commented 8 years ago

I just published 0.5.0 with a fix for this