lib/berkshelf/locations/path.rb in berkshelf-5.5.0 vs lib/berkshelf/locations/path.rb in berkshelf-5.6.0
- old
+ new
@@ -47,11 +47,11 @@
@expanded_path ||= Pathname.new File.expand_path(options[:path], File.dirname(dependency.berksfile.filepath))
end
def ==(other)
other.is_a?(PathLocation) &&
- other.metadata? == metadata? &&
- other.relative_path == relative_path
+ other.metadata? == metadata? &&
+ other.relative_path == relative_path
end
def to_lock
out = " path: #{relative_path}\n"
out << " metadata: true\n" if metadata?