Commit 209dad52 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Validator] Update validator for new Linter::Results class

Updates for https://github.com/CocoaPods/Core/pull/131.
parent b2b98b06
...@@ -7,7 +7,7 @@ GIT ...@@ -7,7 +7,7 @@ GIT
GIT GIT
remote: https://github.com/CocoaPods/Core.git remote: https://github.com/CocoaPods/Core.git
revision: ce564c47d0b499d004c156857ac6e6d8b74024ae revision: 54010ab5adb9e323d0c287089504115847c20d36
branch: master branch: master
specs: specs:
cocoapods-core (0.34.4) cocoapods-core (0.34.4)
......
...@@ -192,7 +192,7 @@ module Pod ...@@ -192,7 +192,7 @@ module Pod
# #
def perform_linting def perform_linting
linter.lint linter.lint
@results.concat(linter.results) @results.concat(linter.results.to_a)
end end
# Perform analysis for a given spec (or subspec) # Perform analysis for a given spec (or subspec)
...@@ -401,7 +401,7 @@ module Pod ...@@ -401,7 +401,7 @@ module Pod
# Specialized Result to support subspecs aggregation # Specialized Result to support subspecs aggregation
# #
class Result < Specification::Linter::Result class Result < Specification::Linter::Results::Result
def initialize(type, message) def initialize(type, message)
super(type, message) super(type, message)
@subspecs = [] @subspecs = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment