From 718e4abe5633f666d8c35d3e5757e2817c5dcab7 Mon Sep 17 00:00:00 2001 From: Bryan Oltman Date: Wed, 18 Oct 2023 12:25:01 -0400 Subject: [PATCH] chore(shorebird_cli): update patch diff warning wording (#1413) --- packages/shorebird_cli/lib/src/patch_diff_checker.dart | 4 ++-- packages/shorebird_cli/test/src/patch_diff_checker_test.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/shorebird_cli/lib/src/patch_diff_checker.dart b/packages/shorebird_cli/lib/src/patch_diff_checker.dart index f507b60c..88e4d302 100644 --- a/packages/shorebird_cli/lib/src/patch_diff_checker.dart +++ b/packages/shorebird_cli/lib/src/patch_diff_checker.dart @@ -91,7 +91,7 @@ class PatchDiffChecker { if (archiveDiffer.containsPotentiallyBreakingNativeDiffs(contentDiffs)) { logger ..warn( - '''The release artifact contains native changes, which cannot be applied with a patch.''', + '''Your app contains native changes, which cannot be applied with a patch.''', ) ..info( yellow.wrap( @@ -118,7 +118,7 @@ If you don't know why you're seeing this error, visit our troublshooting page at if (archiveDiffer.containsPotentiallyBreakingAssetDiffs(contentDiffs)) { logger ..warn( - '''The release artifact contains asset changes, which will not be included in the patch.''', + '''Your app contains asset changes, which will not be included in the patch.''', ) ..info( yellow.wrap( diff --git a/packages/shorebird_cli/test/src/patch_diff_checker_test.dart b/packages/shorebird_cli/test/src/patch_diff_checker_test.dart index da8cd71c..41d72c6b 100644 --- a/packages/shorebird_cli/test/src/patch_diff_checker_test.dart +++ b/packages/shorebird_cli/test/src/patch_diff_checker_test.dart @@ -148,7 +148,7 @@ void main() { verify( () => logger.warn( - '''The release artifact contains native changes, which cannot be applied with a patch.''', + '''Your app contains native changes, which cannot be applied with a patch.''', ), ).called(1); verify( @@ -249,7 +249,7 @@ void main() { verify( () => logger.warn( - '''The release artifact contains asset changes, which will not be included in the patch.''', + '''Your app contains asset changes, which will not be included in the patch.''', ), ).called(1); verify(