Cleanup code

This commit is contained in:
Michiel Hazelhof 2025-08-12 12:35:54 +02:00
parent 7786c4406c
commit ddf67ec706
No known key found for this signature in database
GPG Key ID: EECB9B96355B5EBF

View File

@ -185,14 +185,8 @@ internal class Program
{ {
if (!VerifyTopOptions()) if (!VerifyTopOptions())
{ {
if (!CoreExists()) if (!CoreExists()) config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
{ if (!CertExists()) config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
}
if (!CertExists())
{
config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
}
config.ShowHelp(); config.ShowHelp();
return 1; return 1;
@ -243,14 +237,8 @@ internal class Program
{ {
if (!VerifyTopOptions()) if (!VerifyTopOptions())
{ {
if (!CoreExists()) if (!CoreExists()) config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
{ if (!CertExists()) config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
config.Error.WriteLine($"Can't find core dll at: {coreDll.Value()}");
}
if (!CertExists())
{
config.Error.WriteLine($"Can't find certificate at: {cert.Value()}");
}
config.ShowHelp(); config.ShowHelp();
return 1; return 1;