anchor.diff:        if (!await pubspecFile.exists()) {
           throw new Exception('No pubspec.yaml found in current directory.');
         } else {
  -        var pubspec = await Pubspec.load(Directory.current);
  +        var pubspec = await loadPubspec();
           var oldName = pubspec.name;
           await renamePubspec(Directory.current, oldName, newName);
           await renameDartFiles(Directory.current, oldName, newName);
  
positive.code:       if (visitor.replace.isNotEmpty) {
          visitor.replace.forEach((range, replacement) {
            if (range.first is int) {
              contents =
                  contents.replaceRange(range.first, range.last, replacement);
            } else if (range.first is String) {
              contents = contents.replaceAll(range.first, replacement);
            }
          });
  
  
negative.code: }
  
  renamePubspec(Directory dir, String oldName, String newName) async {
  //  var pubspec = await loadPubspec(dir);
    print(cyan.wrap('Renaming your project to `$newName.`'));
    print(cyan
        .wrap('Note that this does not actually modify your `pubspec.yaml`.'));
  // TODO: https://github.com/dart-lang/pubspec_parse/issues/17
  //  var newPubspec = new Pubspec.fromJson(pubspec.toJson()..['name'] = newName);
  //  await newPubspec.save(dir);
  }
  
  renameDartFiles(Directory dir, String oldName, String newName) async {
  