anchor.diff:      exit(1);
     }
   
  -  var globalReason = args.length >= 2 ? args[2] : null;
  +  var globalReason = args.length > 2 ? args[2] : null;
     updateLogs(
         mode, file.readAsStringSync(), configurations, statusFiles, globalReason);
   }
  
positive.code:     // same order: preserving entries that didn't change, and updating entries
      // where the logs show that the test status changed.
  
      // Records are already sorted, but we sort the file contents in case the
      // file has been tampered with.
      originalEntries.sort();
  
      var newContents = new StringBuffer();
      newContents.write(_contents.substring(0, _begin));
  
negative.code:   List<Record> records = parse(log);
    records.sort();
    var last;
    ConfigurationInSuiteSection section;
    for (var record in records) {
      if (last == record) continue; // ignore duplicates
      if (section?.suite != record.suite) {
  