diff --git a/packages/shorebird_cli/lib/src/validators/shorebird_flutter_validator.dart b/packages/shorebird_cli/lib/src/validators/shorebird_flutter_validator.dart index 2fe8e98b2..2c0e331d5 100644 --- a/packages/shorebird_cli/lib/src/validators/shorebird_flutter_validator.dart +++ b/packages/shorebird_cli/lib/src/validators/shorebird_flutter_validator.dart @@ -61,11 +61,11 @@ class ShorebirdFlutterValidator extends Validator { final pathFlutterVersion = await _pathFlutterVersion(); if (shorebirdFlutterVersion != pathFlutterVersion) { - final message = """ -Shorebird Flutter and the Flutter on your path are different versions. + final message = ''' +The version of Flutter that Shorebird includes and the Flutter on your path are different. \tShorebird Flutter: $shorebirdFlutterVersion \tSystem Flutter: $pathFlutterVersion -This can cause unexpected behavior if the version gap is wide. If you're seeing this unexpectedly, please let us know on Shorebird discord!"""; +This can cause unexpected behavior if you are switching between the tools and the version gap is wide. If you have any trouble, please let us know on Shorebird discord.'''; issues.add( ValidationIssue( diff --git a/packages/shorebird_cli/test/src/validators/shorebird_flutter_validator_test.dart b/packages/shorebird_cli/test/src/validators/shorebird_flutter_validator_test.dart index 724a778c7..bb66e660a 100644 --- a/packages/shorebird_cli/test/src/validators/shorebird_flutter_validator_test.dart +++ b/packages/shorebird_cli/test/src/validators/shorebird_flutter_validator_test.dart @@ -167,8 +167,9 @@ Tools • Dart 2.19.6 • DevTools 2.20.1 expect(results.first.severity, ValidationIssueSeverity.warning); expect( results.first.message, - contains('Shorebird Flutter and the Flutter on your path are' - ' different versions'), + contains( + 'The version of Flutter that Shorebird includes and the Flutter on your path are different', + ), ); }, );