Skip to content

Commit

Permalink
fix: Adds swiftlint strict param
Browse files Browse the repository at this point in the history
  • Loading branch information
sarvesh-sharma-yral committed Dec 2, 2024
1 parent 5263943 commit 581b26d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:

- name: Run SwiftLint
working-directory: iosApp
run: swiftlint
run: swiftlint --strict
1 change: 1 addition & 0 deletions iosApp/Generated/SwiftBridgeCore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1322,3 +1322,4 @@ extension Optional where Wrapped == Bool {
__private__OptionBool(self)
}
}
// swiftlint:enable all
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// swiftlint:disable all

public func get_secp256k1_identity(_ jwk_key: JwkEcKey) throws -> Secp256k1Identity {
try { let val = __swift_bridge__$get_secp256k1_identity({jwk_key.isOwned = false; return jwk_key.ptr;}()); if val.is_ok { return Secp256k1Identity(ptr: val.ok_or_err!) } else { throw Secp256k1Error(ptr: val.ok_or_err!) } }()
}
Expand Down Expand Up @@ -34496,5 +34497,4 @@ extension ServiceRef {
}
}
}


// swiftlint:enable all
1 change: 0 additions & 1 deletion iosApp/iosApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import SwiftUI
import secp256k1

struct ContentView: View {
// let greet = Greeting().greet()

var body: some View {
Text("greet")
Expand Down
2 changes: 1 addition & 1 deletion iosApp/iosApp/Extensions/SwiftBindings+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension PrincipalError: Error {
}

extension RustString: Error {

}

extension Secp256k1Error: Error {
Expand Down

0 comments on commit 581b26d

Please sign in to comment.