| Index: sdk/lib/_internal/pub/lib/src/command/lish.dart
|
| diff --git a/sdk/lib/_internal/pub/lib/src/command/lish.dart b/sdk/lib/_internal/pub/lib/src/command/lish.dart
|
| index fb65fc3fb4714e8228172420f31248f9962c9f1e..ac665cd04bd9c1056c333b831118ceccdf498c08 100644
|
| --- a/sdk/lib/_internal/pub/lib/src/command/lish.dart
|
| +++ b/sdk/lib/_internal/pub/lib/src/command/lish.dart
|
| @@ -97,7 +97,7 @@ class LishCommand extends PubCommand {
|
| if (force && dryRun) {
|
| log.error('Cannot use both --force and --dry-run.');
|
| this.printUsage();
|
| - exit(exit_codes.USAGE);
|
| + return flushThenExit(exit_codes.USAGE);
|
| }
|
|
|
| var packageBytesFuture = entrypoint.packageFiles().then((files) {
|
|
|