File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
modules/build/src/main/scala/scala/build/internal Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import scala.build.errors.{
19
19
TooManyFrameworksFoundByBridgeError
20
20
}
21
21
import scala .build .testrunner .{AsmTestRunner , TestRunner }
22
- import scala .util .Properties
22
+ import scala .util .{ Failure , Properties , Success }
23
23
24
24
object Runner {
25
25
@@ -282,6 +282,12 @@ object Runner {
282
282
val config = RunConfig ().withLogger(logger.scalaJsLogger)
283
283
val processJs = envJs.start(inputs, config)
284
284
285
+ processJs.future.value.foreach {
286
+ case Failure (t) =>
287
+ throw new Exception (t)
288
+ case Success (_) =>
289
+ }
290
+
285
291
val processField =
286
292
processJs.getClass.getDeclaredField(" org$scalajs$jsenv$ExternalJSRun$$process" )
287
293
processField.setAccessible(true )
You can’t perform that action at this time.
0 commit comments