Fix CI issue for Podspec Lint

This commit is contained in:
freak4pc 2019-04-06 23:20:43 +03:00 committed by Krunoslav Zaher
parent 61ac854112
commit 576d67d769
3 changed files with 2 additions and 3 deletions

View File

@ -1 +0,0 @@
4.0

View File

@ -140,7 +140,7 @@ extension Reactive where Base: URLSession {
let interval = Date().timeIntervalSince(d ?? Date())
print(convertURLRequestToCurlCommand(request))
#if os(Linux)
print(convertResponseToString(response, error.flatMap { $0 as? NSError }, interval))
print(convertResponseToString(response, error.flatMap { $0 as NSError }, interval))
#else
print(convertResponseToString(response, error.map { $0 as NSError }, interval))
#endif

View File

@ -16,7 +16,7 @@ function cleanup {
trap cleanup EXIT
if [[ ! -z "${TRAVIS}" ]]; then
gem install cocoapods --pre --no-rdoc --no-ri --no-document --quiet;
gem install cocoapods --pre --no-document --quiet;
pod repo update;
fi;