Skip to content

Commit bff609f

Browse files
Cleanup
1 parent b583a4f commit bff609f

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

src/Certify.Core/Management/CertifyManager/CertifyManager.ServerType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Threading.Tasks;
@@ -17,12 +17,12 @@ private async Task<ICollection<string>> GetTargetServiceTypes()
1717
if (await IsServerTypeAvailable(StandardServerTypes.IIS))
1818
{
1919
list.Add(StandardServerTypes.IIS.ToString());
20-
};
20+
}
2121

2222
if (await IsServerTypeAvailable(StandardServerTypes.Nginx))
2323
{
2424
list.Add(StandardServerTypes.Nginx.ToString());
25-
};
25+
}
2626
return list;
2727
}
2828

src/Certify.Providers/ACME/Anvil/AnvilACMEProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Concurrent;
33
using System.Collections.Generic;
44
using System.Globalization;
@@ -1434,7 +1434,7 @@ public async Task<ProcessStepResult> CompleteCertificateRequest(ILog log, Manage
14341434
log.Warning($"Order context was not cached: {orderId}");
14351435
// didn't have cached info
14361436
orderContext = _acme.Order(new Uri(orderId));
1437-
};
1437+
}
14381438

14391439
// check order status, if it's not 'ready' then try a few more times before giving up
14401440
var order = await orderContext.Resource();

src/Certify.Providers/DNS/Cloudflare/DnsProviderCloudflare.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Net.Http;
55
using System.Threading.Tasks;
66
using Certify.Models.Config;
77
using Certify.Models.Plugins;
88
using Certify.Models.Providers;
9-
using Certify.Models.Shared.Validation;
109
using Certify.Plugins;
1110
using Newtonsoft.Json;
1211

@@ -214,7 +213,7 @@ private string NormalizeTXTValue(string val)
214213
private async Task<ActionResult> AddDnsRecord(string zoneId, string name, string value)
215214
{
216215
value = NormalizeTXTValue(value);
217-
216+
218217
var request = CreateRequest(HttpMethod.Post, string.Format(_createRecordUri, zoneId));
219218

220219
request.Content = new StringContent(
@@ -428,7 +427,8 @@ public async Task<bool> InitProvider(Dictionary<string, string> credentials, Dic
428427
if (credentials == null || credentials?.Any() == false)
429428
{
430429
throw new ArgumentException(credentialError);
431-
};
430+
}
431+
;
432432

433433
_authKey = credentials.ContainsKey("authkey") ? credentials["authkey"] : null;
434434
_apiToken = credentials.ContainsKey("apitoken") ? credentials["apitoken"] : null;

src/Certify.Server/Certify.Server.Api.Public/SignalR/ManagementHub/InstanceManagementStateProvider.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System.Collections.Concurrent;
2-
using Certify.Models.Hub;
1+
using System.Collections.Concurrent;
32
using Certify.Models;
3+
using Certify.Models.Hub;
44
using Certify.Models.Reporting;
55

66
namespace Certify.Server.Api.Public.SignalR.ManagementHub
@@ -145,7 +145,7 @@ public void AddAwaitedCommandResult(InstanceCommandResult result)
145145
attempts--;
146146
await Task.Delay(100);
147147
_logger.LogInformation("Still waiting for command result {commandId}..", commandId);
148-
};
148+
}
149149

150150
_awaitedCommandResults.Remove(commandId, out var cmd);
151151

src/Certify.UI.Shared/Controls/ManagedCertificate/ManagedCertificateSettings.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Linq;
33
using System.Threading.Tasks;
44
using System.Windows;
@@ -120,7 +120,7 @@ private async Task<bool> ValidateAndSave()
120120
{
121121
// opted not to save
122122
return false;
123-
};
123+
}
124124
}
125125

126126
//create/update managed item

src/Certify.UI.Shared/ViewModel/AppViewModel/AppViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Collections.ObjectModel;
44
using System.Diagnostics;
@@ -110,7 +110,7 @@ public void StartProgressCleanupTask()
110110
foreach (var item in items.ToList())
111111
{
112112
ProgressResults.Remove(item);
113-
};
113+
}
114114
});
115115
}
116116
}

0 commit comments

Comments
 (0)