pthrasher / snockets

Sprockets-style script concatenation for Node
119 stars 39 forks source link

Fix for including ../ in require paths #7

Closed lynns closed 12 years ago

lynns commented 12 years ago

It looks like removing the check for . in the EXPLICIT_PATH regex makes it so that having a ../ in your path will work correctly. All of the tests pass with this change and I couldn't think of any reason that the . should be checked for in the EXPLICIT_PATH check.

TrevorBurnham commented 12 years ago

Thanks for the patch. Merging.