Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/kishikawakatsumi/keychainaccess from 3.2.1 to 4.2.2 and fix compilations #346

Open
wants to merge 1 commit into
base: dependabot/swift/github.com/kishikawakatsumi/keychainaccess-4.2.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Sources/XcodesKit/Environment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -313,17 +313,17 @@ public struct Logging {
public struct Keychain {
private static let keychain = KeychainAccess.Keychain(service: "com.robotsandpencils.xcodes")

public var getString: (String) throws -> String? = keychain.getString(_:)
public var getString: (String) throws -> String? = { try keychain.getString($0) }
public func getString(_ key: String) throws -> String? {
try getString(key)
}

public var set: (String, String) throws -> Void = keychain.set(_:key:)
public var set: (String, String) throws -> Void = { try keychain.set($0, key: $1) }
public func set(_ value: String, key: String) throws {
try set(value, key)
}

public var remove: (String) throws -> Void = keychain.remove(_:)
public var remove: (String) throws -> Void = { try keychain.remove($0) }
public func remove(_ key: String) throws -> Void {
try remove(key)
}
Expand Down