[devicelab] never run pub (#68900)

This commit is contained in:
Jonah Williams 2020-10-23 11:13:25 -07:00 committed by GitHub
parent f0ecfff3ca
commit d75cda9d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ void main() {
)); ));
final String originalSource = await nodeSourceFile.readAsString(); final String originalSource = await nodeSourceFile.readAsString();
try { try {
await runTest(); // first number is meaningless; could have had to build the tool, run pub get, have a cache, etc await runTest(noPub: true); // first number is meaningless; could have had to build the tool, run pub get, have a cache, etc
final int withoutChange = await runTest(noPub: true); // run test again with no change final int withoutChange = await runTest(noPub: true); // run test again with no change
await nodeSourceFile.writeAsString( // only change implementation await nodeSourceFile.writeAsString( // only change implementation
originalSource originalSource