From 9dad774b4693ddda09b491ee7f7e0099f8fb1a61 Mon Sep 17 00:00:00 2001 From: Cyril Sobierajewicz Date: Mon, 4 Mar 2019 18:27:04 +0100 Subject: [PATCH] Build v4.0.0 --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index e648869..3f37e3c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -205,7 +205,7 @@ module.exports = function purescriptLoader(source, map) { for (var _iterator = errors[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { var error = _step.value; - var matchErrLocation = /at (.+\.purs) line (\d+), column (\d+) - line (\d+), column (\d+)/; + var matchErrLocation = /at (.+\.purs):(\d+):(\d+) - (\d+):(\d+) \(line \2, column \3 - line \4, column \5\)/; var _ref2 = matchErrLocation.exec(error) || [], _ref3 = _slicedToArray(_ref2, 2), -- 2.41.0