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
10 changes: 5 additions & 5 deletions lib/src/command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ class VeryGoodCommandRunner extends CommandRunner<int> {
..info('')
..info(
'''
+------------------------------------------------------------------------------------+
| |
| ${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u2192 ${lightCyan.wrap(latestVersion)} |
+-------------------------------------------------------------------------------------+
| |
| ${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')} |
| |
+------------------------------------------------------------------------------------+
| |
+-------------------------------------------------------------------------------------+
''',
);
final response = _logger.prompt('Would you like to update? (y/n) ');
Expand Down
10 changes: 5 additions & 5 deletions test/src/command_runner_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ const responseBody =
const latestVersion = '0.0.0';

final updatePrompt = '''
+------------------------------------------------------------------------------------+
| |
| ${lightYellow.wrap('Update available!')} ${lightCyan.wrap(packageVersion)} \u2192 ${lightCyan.wrap(latestVersion)} |
+-------------------------------------------------------------------------------------+
| |
| ${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')} |
| |
+------------------------------------------------------------------------------------+
| |
+-------------------------------------------------------------------------------------+
''';

void main() {
Expand Down