lib/cc/workspace.rb in codeclimate-0.20.1 vs lib/cc/workspace.rb in codeclimate-0.20.2
- old
+ new
@@ -1,10 +1,10 @@
module CC
class Workspace
autoload :Exclusion, "cc/workspace/exclusion"
autoload :PathTree, "cc/workspace/path_tree"
- def initialize(path_tree = PathTree.new("."))
+ def initialize(path_tree = PathTree.for_path("."))
@path_tree = path_tree
end
def clone
self.class.new(path_tree.clone)