diff --git a/packages/shorebird_cli/lib/src/extensions/arg_results.dart b/packages/shorebird_cli/lib/src/extensions/arg_results.dart index 86683cc0..0838ec96 100644 --- a/packages/shorebird_cli/lib/src/extensions/arg_results.dart +++ b/packages/shorebird_cli/lib/src/extensions/arg_results.dart @@ -70,7 +70,7 @@ extension CodeSign on ArgResults { assertAbsentOrValidPublicKey(); assertAbsentOrValidPrivateKey(); } else { - logger.err('Both public and private keys must be provided or absent.'); + logger.err('Both public and private keys must be provided.'); exit(ExitCode.usage.code); } } diff --git a/packages/shorebird_cli/test/src/commands/patch/patch_command_test.dart b/packages/shorebird_cli/test/src/commands/patch/patch_command_test.dart index af9f47d0..127bfede 100644 --- a/packages/shorebird_cli/test/src/commands/patch/patch_command_test.dart +++ b/packages/shorebird_cli/test/src/commands/patch/patch_command_test.dart @@ -354,7 +354,7 @@ void main() { ); verify( () => logger.err( - 'Both public and private keys must be provided or absent.', + 'Both public and private keys must be provided.', ), ).called(1); }); @@ -380,7 +380,7 @@ void main() { ); verify( () => logger.err( - 'Both public and private keys must be provided or absent.', + 'Both public and private keys must be provided.', ), ).called(1); });