lib/git_compound/lock.rb in git_compound-0.0.9 vs lib/git_compound/lock.rb in git_compound-0.0.10
- old
+ new
@@ -47,10 +47,10 @@
@locked
end
def find(component)
components.find do |locked_component|
- locked_component.destination_path == component.destination_path
+ locked_component.path == component.path
end
end
def process(worker)
components.each { |component| worker.visit_component(component) }