ebae77f1b7
Moves the file check after the stderr and exitCode check to show any process error before checking for success output from the process. In effect we'll now see the error message from the compiler when the binary isn't created. Change-Id: I2fb5c87caf6b87f5cff5c89eccaebd2690b20408 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/158009 Auto-Submit: Clement Skau <cskau@google.com> Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>