We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4941b7 + ddbf718 commit 0e66e7dCopy full SHA for 0e66e7d
lib/wicked_pdf/progress.rb
@@ -1,6 +1,6 @@
1
class WickedPdf
2
module Progress
3
- require 'pty' # no support for windows
+ require 'pty' if RbConfig::CONFIG['target_os'] !~ /mswin|mingw/ # no support for windows
4
require 'English'
5
6
def track_progress?(options)
0 commit comments