Skip to content

Commit 4049239

Browse files
authored
only try to load candidate tasks if the submodule has been loaded (#363)
1 parent a349e14 commit 4049239

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ require "rake/extensiontask"
2525
require "rspec/core/rake_task"
2626
require 'fileutils'
2727

28-
load 'spec/shared/lib/tasks/candidate.rake'
28+
if File.exist?('./spec/shared/lib/tasks/candidate.rake')
29+
load './spec/shared/lib/tasks/candidate.rake'
30+
end
2931

3032
def jruby?
3133
defined?(JRUBY_VERSION)

0 commit comments

Comments
 (0)