diff options
author | Cyril Sobierajewicz <cyril.sobierajewicz@fretlink.com> | 2019-03-04 18:27:04 +0100 |
---|---|---|
committer | Cyril Sobierajewicz <cyril.sobierajewicz@fretlink.com> | 2019-03-04 18:27:04 +0100 |
commit | 9dad774b4693ddda09b491ee7f7e0099f8fb1a61 (patch) | |
tree | 96f8167267b508b365fd1c04eecf5d5d462427cd /lib/index.js | |
parent | 2584ed89213092e454f61af8bf077e077f307fc2 (diff) | |
download | purs-loader-9dad774b4693ddda09b491ee7f7e0099f8fb1a61.tar.gz purs-loader-9dad774b4693ddda09b491ee7f7e0099f8fb1a61.tar.zst purs-loader-9dad774b4693ddda09b491ee7f7e0099f8fb1a61.zip |
Build v4.0.0
Diffstat (limited to 'lib/index.js')
-rw-r--r-- | lib/index.js | 2 |
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), |