mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-12-22 07:18:53 -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