Skip to content

Commit

Permalink
Ensure errors use the source map
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmhunt committed Jul 23, 2015
1 parent cae9019 commit b71ad8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var createErrorFormatter = function (basePath, emitter, SourceMapConsumer) {
return null
}

var URL_REGEXP = new RegExp('http:\\/\\/[^\\/]*\\/' +
var URL_REGEXP = new RegExp('\\/' +
'(base|absolute)' + // prefix
'((?:[A-z]\\:)?[^\\?\\s\\:]*)' + // path
'(\\?\\w*)?' + // sha
Expand Down

0 comments on commit b71ad8b

Please sign in to comment.