anchor.diff:  
     var templateFile = new File(p.join(rootPath, '.travis_template.yml'));
     var templateContents = templateFile.readAsStringSync();
  -  var header = "# Do not edit; instead, modify ${p.basename(
  -      templateFile.path)},"
  +  var header =
  +      "# Do not edit; instead, modify ${p.basename(templateFile.path)},"
         " and run './bin/plugin generate'.\n\n";
     var contents = header + templateContents + env;
     log('writing ${p.relative(file.path)}');
  
positive.code:         oldSource2 = processedFile2.readAsStringSync();
          newSource = oldSource2;
          newSource = newSource.replaceAll(
              'image.getIcon()', 'IconUtil.toImage(image.getIcon())');
          processedFile2.writeAsStringSync(newSource);
        }
  
negative.code:       await new File(p.join(rootPath, destDir, path)).create(recursive: true);
    log('writing ${p.relative(file.path)}');
    var dest = file.openWrite();
    dest.writeln("<!-- Do not edit; instead, modify ${p
        .basename(templatePath)}, and run './bin/plugin generate'. -->");
    dest.writeln();
    await new File(p.join(rootPath, 'resources', templatePath))
        .openRead()
  