Skip to content

Commit db36b5b

Browse files
committed
Check the filesystem root for collection config
1 parent 5de6ecd commit db36b5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rbs/collection/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ def self.find_config_path
2424
loop do
2525
config_path = current.join(PATH)
2626
return config_path if config_path.exist?
27-
current = current.join('..')
2827
return nil if current.root?
28+
current = current.join('..')
2929
end
3030
end
3131

0 commit comments

Comments
 (0)