Skip to content

Commit 67ef914

Browse files
committed
Print stderr if buildProject fails
1 parent 373531d commit 67ef914

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/integration_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ Future<bool> buildProject(String project) async {
1212
var result = await Process.run('flutter', ['build', 'web'],
1313
workingDirectory: p.normalize(project), runInShell: true);
1414

15+
if (result.exitCode != 0) {
16+
stderr.writeln(result.stderr);
17+
}
18+
1519
return result.exitCode == 0;
1620
}
1721

0 commit comments

Comments
 (0)