Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
knopp committed Aug 28, 2023
1 parent 53c0fa7 commit ab3e66a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions build_tool/lib/src/build_gradle.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ class BuildGradle {
final targets = Environment.targetPlatforms.map((arch) {
final target = Target.forFlutterName(arch);
if (target == null) {
throw Exception("Unknown darwin target or platform: $arch, ${Environment.darwinPlatformName}");
throw Exception(
"Unknown darwin target or platform: $arch, ${Environment.darwinPlatformName}");
}
return target;
}).toList();

final environment = BuildEnvironment.fromEnvironment(isAndroid: true);
final provider = ArtifactProvider(environment: environment, userOptions: userOptions);
final provider =
ArtifactProvider(environment: environment, userOptions: userOptions);
final artifacts = await provider.getArtifacts(targets);

for (final target in targets) {
Expand Down
3 changes: 2 additions & 1 deletion build_tool/lib/src/precompile_binaries.dart
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ class PrecompileBinaries {
rethrow;
}
++retryCount;
_log.shout('Upload failed (attempt $retryCount, will retry): ${e.toString()}');
_log.shout(
'Upload failed (attempt $retryCount, will retry): ${e.toString()}');
await Future.delayed(Duration(seconds: 2));
}
}
Expand Down

0 comments on commit ab3e66a

Please sign in to comment.