Skip to content

Commit 0e66e7d

Browse files
authored
Merge pull request #820 from Lord-Fisch/master
Added check for Windows to prevent load of pty
2 parents f4941b7 + ddbf718 commit 0e66e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wicked_pdf/progress.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class WickedPdf
22
module Progress
3-
require 'pty' # no support for windows
3+
require 'pty' if RbConfig::CONFIG['target_os'] !~ /mswin|mingw/ # no support for windows
44
require 'English'
55

66
def track_progress?(options)

0 commit comments

Comments
 (0)