tomlea / simple_jshint

A simple wrapper for jshint.js.
MIT License
0 stars 1 forks source link

Handle JSHint fatal errors #1

Closed pipt closed 11 years ago

pipt commented 11 years ago

When JSHint experiences a fatal error, the last element of JSHINT.errors is null. This pull request updates simple_jshint to handle this case without throwing an exception.

tomlea commented 11 years ago

Looks good. Merging.