From 2a87403e843a0c0e8ae3fa2f9dc87190c120df61 Mon Sep 17 00:00:00 2001 From: kimlarson-wk <35233082+kimlarson-wk@users.noreply.github.com> Date: Wed, 13 Dec 2023 23:50:07 -0600 Subject: [PATCH] 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. --- lib/src/serve_command.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/serve_command.dart b/lib/src/serve_command.dart index 7cbe2f0..45ce943 100644 --- a/lib/src/serve_command.dart +++ b/lib/src/serve_command.dart @@ -82,14 +82,14 @@ class ServeCommand extends Command { 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;