Skip to content

Commit f05d0e5

Browse files
committed
Removed '//swiftlint:disable all' rule, and fixed warning
1 parent 200fdc9 commit f05d0e5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CodeEdit/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
</dict>
4646
</array>
4747
<key>GitHash</key>
48-
<string>07029eb9b70b5dd2cbf201bbf3722c9c939834b0</string>
48+
<string>200fdc9899c4d63c9e40b6b510065e36bc34cbff</string>
4949
</dict>
5050
</plist>

CodeEditModules/Modules/Accounts/src/Github/PublicKey.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Foundation
1010
import FoundationNetworking
1111
#endif
1212

13-
// swiftlint:disable all
1413
public extension GithubAccount {
1514
func postPublicKey(_ session: GitURLSession = URLSession.shared,
1615
publicKey: String,
@@ -27,7 +26,7 @@ public extension GithubAccount {
2726
if let error = error {
2827
completion(.failure(error))
2928
} else {
30-
if let _ = json {
29+
if json != nil {
3130
completion(.success(publicKey))
3231
}
3332
}

0 commit comments

Comments
 (0)