Skip to content

Commit

Permalink
Merge pull request #10398 from CocoaPods/paulb777/not-reachable
Browse files Browse the repository at this point in the history
Change URL validation failure to a note
  • Loading branch information
dnkoutso committed Feb 2, 2021
2 parents efaa6bb + 861a862 commit 688c3d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

* None.

## 1.10.2

##### Enhancements

* None.

##### Bug Fixes

* Change URL validation failure to a note
[Paul Beusterien](https://github.com/paulb777)
[#10291](https://github.com/CocoaPods/CocoaPods/issues/10291)

## 1.10.1 (2021-01-07)

Expand Down
2 changes: 1 addition & 1 deletion lib/cocoapods/validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ def validate_url(url, user_agent = nil)
if !resp
warning('url', "There was a problem validating the URL #{url}.", true)
elsif !resp.success?
warning('url', "The URL (#{url}) is not reachable.", true)
note('url', "The URL (#{url}) is not reachable.", true)
end

resp
Expand Down

0 comments on commit 688c3d5

Please sign in to comment.