pthrasher / snockets

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

getConcatenation doesn't throw an error when it should. #40

Closed adrianparsons closed 11 years ago

adrianparsons commented 11 years ago

I've run into a case where getConcatenation should throw an error (because a required file doesn't exist), but no error is thrown. This seems to happen when a block of code precedes the require statement.

adrianparsons commented 11 years ago

I closed this issue and opened issue #41 which includes a pull request and a unit test.