From 7754eed147c122dd88f2cb69705eb2eebc94c2b6 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Mon, 11 Sep 2023 11:52:51 -0400 Subject: [PATCH] chore(shorebird_cli): adjust formatting of flutter version switch --- .../lib/src/commands/patch/patch_android_command.dart | 4 +++- .../lib/src/commands/patch/patch_ios_command.dart | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/shorebird_cli/lib/src/commands/patch/patch_android_command.dart b/packages/shorebird_cli/lib/src/commands/patch/patch_android_command.dart index 561e2be88..aad00d3d2 100644 --- a/packages/shorebird_cli/lib/src/commands/patch/patch_android_command.dart +++ b/packages/shorebird_cli/lib/src/commands/patch/patch_android_command.dart @@ -148,10 +148,12 @@ Please re-run the release command for this version or create a new release.'''); if (release.flutterRevision != originalFlutterRevision) { logger.info(''' + The release you are trying to patch was built with a different version of Flutter. Release Flutter Revision: ${release.flutterRevision} -Current Flutter Revision: $originalFlutterRevision'''); +Current Flutter Revision: $originalFlutterRevision +'''); var flutterVersionProgress = logger.progress( 'Switching to Flutter revision ${release.flutterRevision}', diff --git a/packages/shorebird_cli/lib/src/commands/patch/patch_ios_command.dart b/packages/shorebird_cli/lib/src/commands/patch/patch_ios_command.dart index 6323c4531..dcda4c602 100644 --- a/packages/shorebird_cli/lib/src/commands/patch/patch_ios_command.dart +++ b/packages/shorebird_cli/lib/src/commands/patch/patch_ios_command.dart @@ -146,10 +146,12 @@ Please re-run the release command for this version or create a new release.'''); final originalFlutterRevision = shorebirdEnv.flutterRevision; if (release.flutterRevision != originalFlutterRevision) { logger.info(''' + The release you are trying to patch was built with a different version of Flutter. Release Flutter Revision: ${release.flutterRevision} -Current Flutter Revision: $originalFlutterRevision'''); +Current Flutter Revision: $originalFlutterRevision +'''); var flutterVersionProgress = logger.progress( 'Switching to Flutter revision ${release.flutterRevision}',