anchor.diff:            documentationSection: documentationSection,
           ));
   
  -    if (abortLog != null) {
  +    if (abortMessage != null) {
         return JobStatus.aborted;
       } else {
         return hasContent ? JobStatus.success : JobStatus.failed;
  
positive.code: 
            // Resolve dependencies only for non-legacy package versions.
            if (!packageStatus.isLegacy) {
              depsResolved = await _resolveDependencies(
                  logger, toolEnv, job, pkgPath, usesFlutter, logFileOutput);
            } else {
              logFileOutput.write(
                  'Package version does not allow current SDK, skipping pub upgrade.\n\n');
  
negative.code:             hasContent =
                  dartdocResult.hasIndexHtml && dartdocResult.hasIndexJson;
            } else {
              logFileOutput
                  .write('Dependencies were not resolved, skipping dartdoc.\n\n');
            }
  