Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion lib/src/command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class VeryGoodCommandRunner extends CommandRunner<int> {
'''
${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u2192 ${lightCyan.wrap(latestVersion)}
${lightYellow.wrap('Changelog:')} ${lightCyan.wrap('https://github.com/verygoodopensource/very_good_cli/releases/tag/v$latestVersion')}
Run ${lightCyan.wrap('dart pub global activate very_good_cli')} to update''',
Run ${lightCyan.wrap('very_good update')} to update''',
);
}
} catch (_) {}
Expand Down
2 changes: 1 addition & 1 deletion test/src/command_runner_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const latestVersion = '0.0.0';
final updatePrompt = '''
${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u2192 ${lightCyan.wrap(latestVersion)}
${lightYellow.wrap('Changelog:')} ${lightCyan.wrap('https://github.com/verygoodopensource/very_good_cli/releases/tag/v$latestVersion')}
Run ${lightCyan.wrap('dart pub global activate very_good_cli')} to update''';
Run ${lightCyan.wrap('very_good update')} to update''';

void main() {
group('VeryGoodCommandRunner', () {
Expand Down