Explorar o código

If the compilation had an error, throw an error instead of returning.

Jason Grout %!s(int64=4) %!d(string=hai) anos
pai
achega
725aa35373
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      builder/src/build-labextension.ts

+ 1 - 1
builder/src/build-labextension.ts

@@ -68,7 +68,7 @@ commander
         if (err.details) {
           console.error(err.details);
         }
-        return;
+        throw new Error(err.details);
       }
 
       const info = stats.toJson();