aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index c73fdd5..f3b2fde 100644
--- a/src/index.js
+++ b/src/index.js
@@ -125,7 +125,7 @@ module.exports = function purescriptLoader(source, map) {
125 })) 125 }))
126 .catch(error => { 126 .catch(error => {
127 cache.deferred[0].reject(error) 127 cache.deferred[0].reject(error)
128 cache.deferred.slice(1).forEach(psModule => psModule.reject(true)) 128 cache.deferred.slice(1).forEach(psModule => psModule.reject(new Error('purs-loader failed')))
129 }) 129 })
130 } 130 }
131} 131}