[flutter_tools] fix --use-existing-app (#69237)

This commit is contained in:
Jonah Williams
2020-10-28 13:55:29 -07:00
committed by GitHub
parent 58a74af8a6
commit d306c37bc4
6 changed files with 120 additions and 28 deletions

View File

@@ -82,6 +82,9 @@ void main() {
});
int result;
result = await drive.exitCode;
await flutter('install', options: <String>[
'--uninstall-only',
]);
if (result != 0)
throw 'Failed to drive test app (exit code $result).';
result = await run.exitCode;