shama / grunt-minjson

A Grunt plugin for minifying json files.
MIT License
11 stars 2 forks source link

Provide a hook to fail the build upon errors #2

Closed mada4586 closed 9 years ago

mada4586 commented 11 years ago

Currently, any errors during JSON parse/stringify are logged, but they don't influence the whole build. Please provide an option to fail the task if there are errors.

shama commented 9 years ago

Going to leave the error handling up to Grunt and not do anything special in this task.