lib/buildkite/builder/file_resolver.rb in buildkite-builder-2.0.0 vs lib/buildkite/builder/file_resolver.rb in buildkite-builder-2.1.0
- old
+ new
@@ -18,10 +18,10 @@
@resolve ||= new
end
end
def initialize
- @modified_files = SortedSet.new(pull_request? ? files_from_pull_request : files_from_git)
+ @modified_files = Set.new(pull_request? ? files_from_pull_request.sort! : files_from_git.sort!)
end
private
def files_from_pull_request