Skip to content

Commit

Permalink
filename wasnt added to the error by the thrower
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoryak committed Apr 10, 2015
1 parent a948119 commit f3543bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = (opt) ->
options = if isFunction then opt(file) else opt
data = ngClassify str, options
catch err
err.filename = file.path
return @emit 'error', new gutil.PluginError 'gulp-ng-classify', err

file.contents = new Buffer data
Expand Down

0 comments on commit f3543bd

Please sign in to comment.