anchor.diff:          String cask = createDarteditorCask(cask_class_name, url, release_revision, md5, isRawCsAvailable, installSection);
           File outputFile = new File(outputDirectory.path + '/' + cask_file_name);
           return outputFile.create(recursive: true)
  -            .then((file) => outputFile.writeAsString(cask));
  +            .then((file) {
  +                            outputFile.writeAsString(cask);
  +                            return null;
  +                          });
         });
   }
   
  
positive.code:           if (body == null || body == "" || body.startsWith("<?xml version='1.0' encoding='UTF-8'?><Error>", 0))
            {
              // No version with this revision
              revision--;
              return writeCaskWithCsRevision(revision, outputDirectory, cask_class_name, cask_file_name, client, rootUrl, zipPath, installSection);
            }
  
negative.code:           String cask = createDarteditorCask(cask_class_name, url, release_revision, md5, isRawCsAvailable, installSection);
            File outputFile = new File(outputDirectory.path + '/' + cask_file_name);
            return outputFile.create(recursive: true)
              .then((file) {
              outputFile.writeAsString(cask);
              return null;
            });
          }
          else
          {
  