Skip to content

Commit

Permalink
Update RUBY_PLATFORM conditional to Ruby 3.1
Browse files Browse the repository at this point in the history
Differential Revision: D65979906

fbshipit-source-id: bc7e0e3856ea7006213ccf212a40b59086aad148
  • Loading branch information
Billy Barrese authored and facebook-github-bot committed Nov 21, 2024
1 parent bcc6dc3 commit a387db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/fb_helpers/libraries/fb_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def self.linux?
end

def self.windows?
RUBY_PLATFORM =~ /mswin|mingw32|windows/
RUBY_PLATFORM =~ /mswin|mingw|windows/
end

# mountpoint? determines if a path string represents a mountpoint
Expand Down

0 comments on commit a387db6

Please sign in to comment.