mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-11-13 12:45:05 -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