CaryLandholt / gulp-ng-classify

Convert CoffeeScript classes to AngularJS modules with ng-classify
MIT License
15 stars 4 forks source link

CoffeeScript errors do not contain filename or location property #9

Open davidpp opened 9 years ago

davidpp commented 9 years ago

Using version 4.0.1, the error object do not seem to contain the filename as documented in the 4.0.1 release :

{ [SyntaxError: unmatched OUTDENT]
  plugin: 'gulp-ng-classify',
  showStack: false,
  name: 'SyntaxError',
  message: 'unmatched OUTDENT',
  stack: '[stdin]:33:6: error: unmatched OUTDENT\n    }\u001b[1;31m\u001b[0m\n\u001b[1;31m     ^\u001b[0m' }
ameliemaia commented 9 years ago

+1 This makes it very difficult to debug.