Skip to content

Commit

Permalink
Migration: allow clients to use CommandLineOptions.
Browse files Browse the repository at this point in the history
Previously this class was marked `@visibleForTesting`, but we need
clients to be able to create instances of this class in order to drive
the migration process.

Change-Id: Ibb8a4cda342942dcb15e6fd7625387d246b41f84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153800
Reviewed-by: Samuel Rawlins <[email protected]>
Commit-Queue: Paul Berry <[email protected]>
  • Loading branch information
stereotype441 authored and [email protected] committed Jul 9, 2020
1 parent 5f68b0b commit c71d40f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/nnbd_migration/lib/migration_cli.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ String _removePeriod(String value) {

/// Data structure recording command-line options for the migration tool that
/// have been passed in by the client.
@visibleForTesting
class CommandLineOptions {
static const applyChangesFlag = 'apply-changes';
static const helpFlag = 'help';
Expand Down

0 comments on commit c71d40f

Please sign in to comment.