Skip to content

Commit a387db6

Browse files
Billy Barresefacebook-github-bot
authored andcommitted
Update RUBY_PLATFORM conditional to Ruby 3.1
Differential Revision: D65979906 fbshipit-source-id: bc7e0e3856ea7006213ccf212a40b59086aad148
1 parent bcc6dc3 commit a387db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/fb_helpers/libraries/fb_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def self.linux?
558558
end
559559

560560
def self.windows?
561-
RUBY_PLATFORM =~ /mswin|mingw32|windows/
561+
RUBY_PLATFORM =~ /mswin|mingw|windows/
562562
end
563563

564564
# mountpoint? determines if a path string represents a mountpoint

0 commit comments

Comments
 (0)