Skip to content

Commit 4c78d45

Browse files
committedOct 17, 2014
Merge pull request #1 from ankhers/unnecessary_server
Unnecessary server
2 parents 471175e + 59654f4 commit 4c78d45

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ spec/reports
1515
test/tmp
1616
test/version_tmp
1717
tmp
18+
.ruby-gemset
19+
.ruby-version

‎lib/guard/go/runner.rb

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

13-
raise "Server file not found. Check your :server option in your Guarfile." unless File.exists? @options[:server]
13+
unless @options[:test] && File.exists?(@options[:server])
14+
raise "Server file not found. Check your :server option in your Guardfile."
15+
end
1416
end
1517

1618
def start

0 commit comments

Comments
 (0)