Skip to content

Commit 8cabf12

Browse files
committed
proper logic
1 parent 59654f4 commit 8cabf12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/guard/go/runner.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class GoRunner
1010
def initialize(options)
1111
@options = options
1212

13-
unless @options[:test] && File.exists?(@options[:server])
13+
unless @options[:test] || File.exists?(@options[:server])
1414
raise "Server file not found. Check your :server option in your Guardfile."
1515
end
1616
end

0 commit comments

Comments
 (0)