diff options
author | Cyril Sobierajewicz <cyril.sobierajewicz@fretlink.com> | 2018-12-03 17:11:45 +0100 |
---|---|---|
committer | Cyril Sobierajewicz <cyril.sobierajewicz@fretlink.com> | 2018-12-03 17:16:11 +0100 |
commit | 1365e0d7a554f639fe8fc47eb6518d9ce3e9030a (patch) | |
tree | 7a8edce1f1e1cc4cee2294a3c42ab1ea9665dee0 | |
parent | 83fd278d934123a6c4991463353f1f9938373d60 (diff) | |
download | purs-loader-1365e0d7a554f639fe8fc47eb6518d9ce3e9030a.tar.gz purs-loader-1365e0d7a554f639fe8fc47eb6518d9ce3e9030a.tar.zst purs-loader-1365e0d7a554f639fe8fc47eb6518d9ce3e9030a.zip |
Don’t expect the prototype hierarchy to be preserved by babel
-rw-r--r-- | src/utils.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.js b/src/utils.js index 671b580..b6ccf81 100644 --- a/src/utils.js +++ b/src/utils.js | |||
@@ -4,6 +4,7 @@ exports.PscError = class PscError extends Error { | |||
4 | constructor(message, modules) { | 4 | constructor(message, modules) { |
5 | super(message); | 5 | super(message); |
6 | this.modules = modules; | 6 | this.modules = modules; |
7 | this.isPscError = true; | ||
7 | } | 8 | } |
8 | 9 | ||
9 | static get name() { | 10 | static get name() { |