anchor.diff:          stderr.writeln(result.error);
           return result;
         }
  -      final String packageName =
  -          fs.file(farFile).basename.replaceFirst('-0.far', '');
  +      final RegExp r = RegExp(r'\-0.far|.far');
  +      final String packageName = fs.file(farFile).basename.replaceFirst(r, '');
         await amberCtl.addPackage(packageName);
       }
   
  
positive.code:     return testResult;
    } finally {
      // We may not have created the repo if dev finder errored first.
      if (repo.existsSync()) {
        repo.deleteSync(recursive: true);
      }
      if (server.serving) {
  
negative.code:     ..addMultiOption('far',
          abbr: 'f', help: 'The .far files to include for the test.')
      ..addOption('timeout-seconds',
          defaultsTo: '120', help: 'Test timeout in seconds.')
      ..addOption('packages-directory', help: 'amber files directory.');
  
    final ArgResults results = parser.parse(args);
  
  