]> git.immae.eu Git - github/fretlink/purs-loader.git/commitdiff
Don’t expect the prototype hierarchy to be preserved by babel
authorCyril Sobierajewicz <cyril.sobierajewicz@fretlink.com>
Mon, 3 Dec 2018 16:11:45 +0000 (17:11 +0100)
committerCyril Sobierajewicz <cyril.sobierajewicz@fretlink.com>
Mon, 3 Dec 2018 16:11:47 +0000 (17:11 +0100)
src/utils.js

index 671b58006ee37272f64e22fed79456a60da8b367..b6ccf8193749d2e2e263994c3b0b6649aeb8e065 100644 (file)
@@ -4,6 +4,7 @@ exports.PscError = class PscError extends Error {
   constructor(message, modules) {
     super(message);
     this.modules = modules;
+    this.isPscError = true;
   }
 
   static get name() {