mschwartz / SilkJS

V8 Based JavaScript Swiss Army Knife (and HTTP Server!)
https://github.com/decafjs/decaf
Other
323 stars 37 forks source link

Correctly checks if relative and absolute modules paths exists #25

Closed amigrave closed 11 years ago

amigrave commented 11 years ago

Hi Michael,

When requiring a non existant module using relative or absolute path, the exception is not raised as expected. Here's a fix.