anchor.diff:        String? outputDirectory,
         String? workingDirectory}) {
       runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
  -    final args = ['build'];
  +    final args = ['pub', 'build'];
       if (mode != null) args.add('--mode=$mode');
       if (outputDirectory != null) args.add('--output=$outputDirectory');
       if (directories != null && directories.isNotEmpty) args.addAll(directories);
   
       return runlib
  -        .runAsync(sdkBin('pub'), arguments: args, runOptions: runOptions)
  +        .runAsync(sdkBin('dart'), arguments: args, runOptions: runOptions)
           .then((_) => null);
     }
   
  
positive.code:       String? workingDirectory}) {
      runOptions = mergeWorkingDirectory(workingDirectory, runOptions);
      var scriptArg = script == null ? package : '$package:$script';
      final args = ['run', scriptArg];
      if (arguments != null) args.addAll(arguments);
      return runlib.run(sdkBin('pub'), arguments: args, runOptions: runOptions);
    }
  
    /// Run `pub run` on the given [package] and [script].
  
negative.code:     //...
  
      var stdout =
          runlib.run(sdkBin('dart'), arguments: ['pub', 'global', 'list'], quiet: true);
  
      var lines = stdout.trim().split('\n');
      return lines.map((line) {
  