anchor.diff:          _excludedLibraries.join(','),
         ],
         workingDirectory: pkgPath,
  -      environment: environment,
       );
       _appendLog(logFileOutput, pr);
   
  
positive.code: 
        bool hasContent = false;
        if (depsResolved) {
          final dartdocEnv = {'PUB_CACHE': pubCacheDir};
          hasContent = await _generateDocs(
              task, pkgPath, outputDir, dartdocEnv, logFileOutput);
        }
  
        if (hasContent) {
  
negative.code:     Task task,
      String pkgPath,
      String outputDir,
      StringBuffer logFileOutput,
    ) async {
      logFileOutput.write('Running dartdoc:\n');
  