From 4f0bd2ef19ecdd5bb968a883a8bf473a2722c716 Mon Sep 17 00:00:00 2001 From: JPMartha Date: Tue, 18 Jul 2017 17:00:09 +0900 Subject: [PATCH] Fix typo in LicensePlistExtension --- Sources/LicensePlistCore/Extension/APIKit.extension.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/LicensePlistCore/Extension/APIKit.extension.swift b/Sources/LicensePlistCore/Extension/APIKit.extension.swift index 40cd8217..d1211cda 100644 --- a/Sources/LicensePlistCore/Extension/APIKit.extension.swift +++ b/Sources/LicensePlistCore/Extension/APIKit.extension.swift @@ -7,12 +7,12 @@ extension Session: LicensePlistCompatible {} extension LicensePlistExtension where Base: Session { func sendSync(_ request: T) -> Result { var result: Result! - let semaphor = DispatchSemaphore(value: 0) + let semaphore = DispatchSemaphore(value: 0) self.base.send(request, callbackQueue: .sessionQueue) { _result in result = _result - semaphor.signal() + semaphore.signal() } - semaphor.wait() + semaphore.wait() return result } func send(_ request: T) -> ResultOperation {