Skip to content

Commit 1e11922

Browse files
committed
(MAINT) Replace #sort.last with #max
1 parent 770e689 commit 1e11922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pdk/validators/base_validator.rb

Lines changed: 1 addition & 1 deletion
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)