Clean up some flutter_tools tests and roll dependencies (#33163)
* Clean up some flutter_tools tests * Remove arbitrary retry that happens even for fundamental errors, and generally clean up _DevFSHttpWriter. * Update dependencies (requires fixes; see next commit) * Fixes for new dependencies.
This commit is contained in:
@@ -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), 300));
|
||||
smallImage ??= encodePng(copyResize(decodePng(largeImage), width: 300));
|
||||
|
||||
if (!largeImageSaved)
|
||||
largeImageSaved = await save(client, largeName, largeImage);
|
||||
|
||||
Reference in New Issue
Block a user