Vector Plexus always validates

This commit is contained in:
Timothy Baldridge 2021-12-18 10:59:47 -07:00
parent ad5da6d696
commit f7e824c6ec
2 changed files with 4 additions and 2 deletions

View File

@ -45,8 +45,8 @@ public class ForceHeal : IVerb
public Command MakeCommand()
{
var command = new Command("force-heal");
command.Add(new Option<AbsolutePath>(new[] {"-n", "-new"}, "New File"));
command.Add(new Option<string>(new[] {"-o", "-old"}, "Old File"));
command.Add(new Option<AbsolutePath>(new[] {"-n", "-new-file"}, "New File"));
command.Add(new Option<string>(new[] {"-o", "-old-file"}, "Old File"));
command.Description = "Creates a patch from New file to Old File and uploads it";
command.Handler = CommandHandler.Create(Run);
return command;

View File

@ -372,6 +372,8 @@ public class ValidateLists : IVerb
return (ArchiveStatus.Valid, archive);
case Nexus:
return (ArchiveStatus.Valid, archive);
case VectorPlexus:
return (ArchiveStatus.Valid, archive);
}
if (archive.State is Http http && http.Url.Host.EndsWith("github.com"))