Skip to content

Commit

Permalink
Consider cygwin a Windows platform
Browse files Browse the repository at this point in the history
This should fix Ruby Bug 12468.
  • Loading branch information
jeremyevans committed Sep 22, 2020
1 parent daf1dc5 commit 15d4fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/logger/log_device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def check_shift_log
end
end

if /mswin|mingw/ =~ RUBY_PLATFORM
if /mswin|mingw|cygwin/ =~ RUBY_PLATFORM
def lock_shift_log
yield
end
Expand Down

0 comments on commit 15d4fe0

Please sign in to comment.