Skip to content

Commit 2a87403

Browse files
authored
Update serve_command.dart
I like to just copy and pasted when these suggestions pop up but right now I have to remember the "dart" precursor on my own. I figured I'd just add it in here.
1 parent 1c9dd04 commit 2a87403

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/serve_command.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ class ServeCommand extends Command<int> {
8282
return red.wrap(
8383
'This command requires that `webdev` be activated globally.\n'
8484
'Please run the following:\n'
85-
'\tpub global activate webdev "$webdevCompatibility"',
85+
'\tdart pub global activate webdev "$webdevCompatibility"',
8686
);
8787
} else if (!_hasCompatibleWebdev) {
8888
return red.wrap(
8989
'This command is only compatible with `webdev $webdevCompatibility`, '
9090
'but you currently have webdev ${getGlobalWebdevVersion()} active.\n'
9191
'Please run the following to activate a compatible version:\n'
92-
'\tpub global activate webdev "$webdevCompatibility"',
92+
'\tdart pub global activate webdev "$webdevCompatibility"',
9393
);
9494
}
9595
return null;

0 commit comments

Comments
 (0)