From ecf71342f2cf98efe193810f8a6335f48b772251 Mon Sep 17 00:00:00 2001 From: kimlarson-wk Date: Thu, 9 Nov 2023 15:05:09 -0700 Subject: [PATCH] Fix print out to use dart prefix --- 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;