Skip to content

Commit

Permalink
Merge pull request #38 from Workiva/update_suggested_command
Browse files Browse the repository at this point in the history
Update serve_command.dart
  • Loading branch information
rmconsole6-wk authored Dec 14, 2023
2 parents 1c9dd04 + 2a87403 commit c02006e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/serve_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ class ServeCommand extends Command<int> {
return red.wrap(
'This command requires that `webdev` be activated globally.\n'
'Please run the following:\n'
'\tpub global activate webdev "$webdevCompatibility"',
'\tdart pub global activate webdev "$webdevCompatibility"',
);
} else if (!_hasCompatibleWebdev) {
return red.wrap(
'This command is only compatible with `webdev $webdevCompatibility`, '
'but you currently have webdev ${getGlobalWebdevVersion()} active.\n'
'Please run the following to activate a compatible version:\n'
'\tpub global activate webdev "$webdevCompatibility"',
'\tdart pub global activate webdev "$webdevCompatibility"',
);
}
return null;
Expand Down

0 comments on commit c02006e

Please sign in to comment.