Skip to content

Commit d04dcfd

Browse files
committed
Consider RC sometime in the future (maybe). [admin]
1 parent d8db4eb commit d04dcfd

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

work/consider/rc.rb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
begin
2-
require 'rc/api'
3-
RC.setup 'rubytest' do |config|
4-
Test.run(config.profile, &config)
1+
if Config.rc_file
2+
begin
3+
require 'rc/api'
4+
RC.setup 'rubytest' do |config|
5+
Test.run(config.profile, &config)
6+
end
7+
rescue LoadError
58
end
6-
rescue LoadError
79
end
8-

0 commit comments

Comments
 (0)