Skip to content

Commit

Permalink
feat: add thank you message
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfenrain committed Sep 28, 2023
1 parent afe336e commit 8230d71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/src/command_runner.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class VeryGoodCommandRunner extends CompletionCommandRunner<int> {
final Logger _logger;
final PubUpdater _pubUpdater;

/// Map of environments information.
Map<String, String> get environment => environmentOverride ?? _environment;
final Map<String, String> _environment;

Expand Down
7 changes: 5 additions & 2 deletions test/src/command_runner_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,11 @@ void main() {
() => logger.info('with us and get information on '),
() => logger.info('future updates please go join '),
() => logger.info('our newsletter: '),
() => logger.info(any(
that: contains('https://verygood.ventures/#newsletter'))),
() => logger.info(
any(
that: contains('https://verygood.ventures/#newsletter'),
),
),
]);

verify(
Expand Down

0 comments on commit 8230d71

Please sign in to comment.