mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-11-12 04:05:01 -05:00
Don't on windows [finishes #56]
This commit is contained in:
parent
85ce6f49d1
commit
39aac3422b
@ -9,7 +9,7 @@ require 'mail_catcher/version'
|
||||
|
||||
module MailCatcher extend self
|
||||
def which command
|
||||
Open3.popen3 'which', 'command' do |stdin, stdout, stderr|
|
||||
not windows? and Open3.popen3 'which', 'command' do |stdin, stdout, stderr|
|
||||
return stdout.read.chomp.presence
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user