Skip to content

Commit

Permalink
fix if
Browse files Browse the repository at this point in the history
  • Loading branch information
VDA22 committed May 17, 2024
1 parent bfdb2ea commit a3c995e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
#if canImport(FigmaGen)
#if canImport(KeychainAccess)
import KeychainAccess
#endif

Expand All @@ -12,7 +12,7 @@ final class DefaultAccessTokenResolver: AccessTokenResolver {
let accessToken = ProcessInfo.processInfo.environment[environmentVariable] {
return accessToken
} else if let parameters = configuration?.keychainParameters {
#if canImport(FigmaGen)
#if canImport(KeychainAccess)
let accessToken = try? Keychain(service: parameters.service).getString(parameters.key)
return accessToken
#else
Expand Down

0 comments on commit a3c995e

Please sign in to comment.