Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTL-1793 : Have over_react_codemod show deprecation message #276

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated the latest wiki link
  • Loading branch information
chetansinghchoudhary-wk committed Apr 4, 2024
commit 8c8f66da2954e6ae8292ea9d8871ba1c8f186190
9 changes: 4 additions & 5 deletions lib/src/executables/intl_message_migration.dart
Original file line number Diff line number Diff line change
@@ -217,11 +217,11 @@ void printDeprecationNotice() {
printInBlue(
'# over_react_codemod:intl_message_migration is deprecated and will no longer receive updates.');
stderr.writeln('# Instead, use the dart_dev or intl_tools commands:');
stderr.writeln('# dart_dev intl ...');

/// TODO: The link to the wiki will be updated here once INTL-1792 done.
stderr.writeln('# dart_dev intl <subcommand>');
stderr.writeln('# For example: '
'dart_dev intl check');
stderr.writeln(
'# Refer to the documentation https://wiki.atl.workiva.net/display/FEF/Internationalization of dart_dev / dart_dev_workiva for more information on using intl_codemod with dart_dev.');
'# Refer to the documentation https://wiki.atl.workiva.net/display/FEF/Intl+Quick+Reference+Guide of dart_dev / dart_dev_workiva for more information on using intl_codemod with dart_dev.');
}

void printInBlue(String text) {
@@ -236,7 +236,6 @@ void printUsage() {
stderr.writeln(
'Migrates literal strings that seem user-visible in the package by wrapping them in Intl.message calls.');

printDeprecationNotice();
stderr.writeln('Usage:');
stderr.writeln(' intl_message_migration [arguments]');
stderr.writeln();
Loading
Oops, something went wrong.