Skip to content

Commit

Permalink
Merge pull request #798 from peterzhu2118/remove-os
Browse files Browse the repository at this point in the history
Remove support for deprecated OS
  • Loading branch information
rafaelfranca authored Feb 8, 2023
2 parents 2a0632d + da3bdc6 commit fd31f45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/thor/shell/basic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def dynamic_width_tput
end

def unix?
RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i
RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris)/i
end

def truncate(string, width)
Expand Down

0 comments on commit fd31f45

Please sign in to comment.