Skip to content

Commit

Permalink
Compare doesn't work on JRuby?
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 25, 2024
1 parent dab5742 commit 4605e17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/bake/recipe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def initialize(instance, name, method = nil)
# Sort by location in source file.
def <=> other
self.source_location <=> other.source_location
rescue => error
$stderr.puts error.inspect
return 0
end

# The method implementation.
Expand Down

0 comments on commit 4605e17

Please sign in to comment.