Skip to content

Commit

Permalink
Merge pull request #820 from Lord-Fisch/master
Browse files Browse the repository at this point in the history
Added check for Windows to prevent load of pty
  • Loading branch information
unixmonkey authored Apr 3, 2019
2 parents f4941b7 + ddbf718 commit 0e66e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wicked_pdf/progress.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class WickedPdf
module Progress
require 'pty' # no support for windows
require 'pty' if RbConfig::CONFIG['target_os'] !~ /mswin|mingw/ # no support for windows
require 'English'

def track_progress?(options)
Expand Down

0 comments on commit 0e66e7d

Please sign in to comment.