Skip to content

Commit d2a0f4a

Browse files
authored
Merge pull request #196 from austb/fix_exit_code_sort
(MAINT) Replace #sort.last with #max
2 parents 15bdac9 + 1e11922 commit d2a0f4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pdk/validators/base_validator.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def self.invoke(report, options = {})
7676
parse_output(report, result, invokation_targets)
7777
end
7878

79-
exit_codes.sort.last
79+
exit_codes.max
8080
end
8181
end
8282
end

0 commit comments

Comments
 (0)