jshint now prevents script task from running in error case