Skip to content

Commit 897706e

Browse files
mit-mitcommit-bot@chromium.org
authored andcommitted
Remove unrecommended flag from output:
The current output indirectly advertizes premature out-of-order migration, which would be bad if it happened widely. We can keep the flag, but should not advertize it. Change-Id: I8bde10489cef8e1104e2e5216e03aed61bc95ba0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153612 Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Kevin Moore <[email protected]> Commit-Queue: Michael Thomsen <[email protected]>
1 parent 849cdb2 commit 897706e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/nnbd_migration/lib/migration_cli.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,6 @@ class DependencyChecker {
168168
_logger.stderr('');
169169
_logger.stderr('Visit https://dart.dev/tools/pub/cmd/pub-outdated for '
170170
'more information.');
171-
_logger.stderr('');
172-
_logger.stderr('You can force migration with '
173-
"'--${CommandLineOptions.skipPubOutdatedFlag}' (not recommended).");
174171
return false;
175172
}
176173
return true;

0 commit comments

Comments
 (0)