mirror of
https://github.com/mas-cli/mas
synced 2024-11-25 13:00:23 +00:00
🚨 Remove trailing whitespace
This commit is contained in:
parent
539678b045
commit
5166fcf1c2
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class TestURLSessionDelegate: NSObject, URLSessionDelegate {
|
||||||
didReceive challenge: URLAuthenticationChallenge,
|
didReceive challenge: URLAuthenticationChallenge,
|
||||||
completionHandler: (URLSession.AuthChallengeDisposition,
|
completionHandler: (URLSession.AuthChallengeDisposition,
|
||||||
URLCredential?) -> Void) {
|
URLCredential?) -> Void) {
|
||||||
|
|
||||||
// For example, you may want to override this to accept some self-signed certs here.
|
// For example, you may want to override this to accept some self-signed certs here.
|
||||||
if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
|
if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
|
||||||
Constants.selfSignedHosts.contains(challenge.protectionSpace.host) {
|
Constants.selfSignedHosts.contains(challenge.protectionSpace.host) {
|
||||||
|
|
Loading…
Reference in a new issue