diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 01ad5a6..8a2e468 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -238,7 +238,7 @@ module.exports = function purescriptLoader(source, map) { | |||
238 | modules.push(desc); | 238 | modules.push(desc); |
239 | } | 239 | } |
240 | 240 | ||
241 | CACHE_VAR.errors.push(Object.assign(new Error(pscMessage), { modules })); | 241 | CACHE_VAR.errors.push(new utils.PscError(pscMessage, modules)); |
242 | } | 242 | } |
243 | } | 243 | } |
244 | } | 244 | } |