Преглед изворни кода

Make clear available on MacOS otherwise it breaks unit tests

Evgenii Neumerzhitckii пре 6 година
родитељ
комит
c89eca3079
1 измењених фајлова са 0 додато и 1 уклоњено
  1. 0 1
      Sources/KeychainSwift.swift

+ 0 - 1
Sources/KeychainSwift.swift

@@ -266,7 +266,6 @@ open class KeychainSwift {
   
   */
   @discardableResult
-  @available(macOS, unavailable, message: "Not implemented on macOS, call delete for every key.")
   open func clear() -> Bool {
     // The lock prevents the code to be run simlultaneously
     // from multiple threads which may result in crashing