Commit 778fa153 authored by Fabio Pelosin's avatar Fabio Pelosin

[Specification::Linter] Minor fix.

parent b263097e
......@@ -187,9 +187,9 @@ module Pod
end
# Get common messages
@errors = @platform_errors.values.reduce(:&)
@warnings = @platform_warnings.values.reduce(:&)
@notes = @platform_notes.values.reduce(:&)
@errors = @platform_errors.values.reduce(:&) || []
@warnings = @platform_warnings.values.reduce(:&) || []
@notes = @platform_notes.values.reduce(:&) || []
platforms.each do |platform|
# Mark platform specific messages
......
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