From b71ad8b5759377488339e64cc0d690d012e72cf9 Mon Sep 17 00:00:00 2001 From: Brian M Hunt Date: Thu, 23 Jul 2015 11:15:21 -0400 Subject: [PATCH] Ensure errors use the source map Closes #1495 --- lib/reporter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reporter.js b/lib/reporter.js index ebf6dc207..e0c5fb65f 100644 --- a/lib/reporter.js +++ b/lib/reporter.js @@ -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