Skip to content

Commit

Permalink
Fix CI issue for Podspec Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc authored and kzaher committed Apr 7, 2019
1 parent 61ac854 commit 576d67d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .swift-version

This file was deleted.

2 changes: 1 addition & 1 deletion RxCocoa/Foundation/URLSession+Rx.swift
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate-podspec.sh
Expand Up @@ -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;

Expand Down

0 comments on commit 576d67d

Please sign in to comment.