Revert "Clean up some flutter_tools tests and roll dependencies (#33163)" (#33206)

This commit is contained in:
Jonah Williams
2019-05-22 12:20:02 -07:00
committed by GitHub
parent a6f1c095dc
commit a30ffb60ad
46 changed files with 173 additions and 189 deletions

View File

@@ -80,7 +80,7 @@ class Upload {
throw UploadError('upload of "$fromPath" to "$largeName" and "$smallName" failed after 2 retries');
largeImage ??= await File(fromPath).readAsBytes();
smallImage ??= encodePng(copyResize(decodePng(largeImage), width: 300));
smallImage ??= encodePng(copyResize(decodePng(largeImage), 300));
if (!largeImageSaved)
largeImageSaved = await save(client, largeName, largeImage);