aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/index.js2
1 files changed, 1 insertions, 1 deletions
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) {
205 for (var _iterator = errors[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { 205 for (var _iterator = errors[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
206 var error = _step.value; 206 var error = _step.value;
207 207
208 var matchErrLocation = /at (.+\.purs) line (\d+), column (\d+) - line (\d+), column (\d+)/; 208 var matchErrLocation = /at (.+\.purs):(\d+):(\d+) - (\d+):(\d+) \(line \2, column \3 - line \4, column \5\)/;
209 209
210 var _ref2 = matchErrLocation.exec(error) || [], 210 var _ref2 = matchErrLocation.exec(error) || [],
211 _ref3 = _slicedToArray(_ref2, 2), 211 _ref3 = _slicedToArray(_ref2, 2),