diff --git a/packages/shorebird_cli/lib/src/commands/patch/ios_patcher.dart b/packages/shorebird_cli/lib/src/commands/patch/ios_patcher.dart index a5afd932..7ab276b9 100644 --- a/packages/shorebird_cli/lib/src/commands/patch/ios_patcher.dart +++ b/packages/shorebird_cli/lib/src/commands/patch/ios_patcher.dart @@ -144,7 +144,7 @@ This may indicate that the patch contains native changes, which cannot be applie throw UnpatchableChangeException(); } - if (!logger.confirm('Continue anyways?')) { + if (!logger.confirm('Continue anyway?')) { throw UserCancelledException(); } } diff --git a/packages/shorebird_cli/lib/src/commands/patch/macos_patcher.dart b/packages/shorebird_cli/lib/src/commands/patch/macos_patcher.dart index 465a4389..e8624e95 100644 --- a/packages/shorebird_cli/lib/src/commands/patch/macos_patcher.dart +++ b/packages/shorebird_cli/lib/src/commands/patch/macos_patcher.dart @@ -114,7 +114,7 @@ This may indicate that the patch contains native changes, which cannot be applie throw UnpatchableChangeException(); } - if (!logger.confirm('Continue anyways?')) { + if (!logger.confirm('Continue anyway?')) { throw UserCancelledException(); } } diff --git a/packages/shorebird_cli/lib/src/patch_diff_checker.dart b/packages/shorebird_cli/lib/src/patch_diff_checker.dart index f9b0e8fd..df749f82 100644 --- a/packages/shorebird_cli/lib/src/patch_diff_checker.dart +++ b/packages/shorebird_cli/lib/src/patch_diff_checker.dart @@ -94,7 +94,7 @@ If you don't know why you're seeing this error, visit our troubleshooting page a throw UnpatchableChangeException(); } - if (!logger.confirm('Continue anyways?')) { + if (!logger.confirm('Continue anyway?')) { throw UserCancelledException(); } } @@ -116,7 +116,7 @@ If you don't know why you're seeing this error, visit our troubleshooting page a throw UnpatchableChangeException(); } - if (!logger.confirm('Continue anyways?')) { + if (!logger.confirm('Continue anyway?')) { throw UserCancelledException(); } } 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 89b9e3af..de173316 100644 --- a/packages/shorebird_cli/test/src/patch_diff_checker_test.dart +++ b/packages/shorebird_cli/test/src/patch_diff_checker_test.dart @@ -139,7 +139,7 @@ void main() { ), ); - verify(() => logger.confirm('Continue anyways?')).called(1); + verify(() => logger.confirm('Continue anyway?')).called(1); }); test('does not prompt user if allowNativeChanges is true', () async { @@ -153,7 +153,7 @@ void main() { ), ); - verifyNever(() => logger.confirm('Continue anyways?')); + verifyNever(() => logger.confirm('Continue anyway?')); }); test( @@ -174,7 +174,7 @@ void main() { throwsA(isA()), ); - verify(() => logger.confirm('Continue anyways?')).called(1); + verify(() => logger.confirm('Continue anyway?')).called(1); }, ); @@ -237,7 +237,7 @@ void main() { ), ); - verify(() => logger.confirm('Continue anyways?')).called(1); + verify(() => logger.confirm('Continue anyway?')).called(1); }); test('does not prompt user if allowAssetChanges is true', () async { @@ -251,7 +251,7 @@ void main() { ), ); - verifyNever(() => logger.confirm('Continue anyways?')); + verifyNever(() => logger.confirm('Continue anyway?')); }); test( @@ -272,7 +272,7 @@ void main() { throwsA(isA()), ); - verify(() => logger.confirm('Continue anyways?')).called(1); + verify(() => logger.confirm('Continue anyway?')).called(1); }, );