Commit 6d9fb6b0 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

It doesn't seem that rubocop is complaining for me

parent 966a34d362b3
...@@ -60,12 +60,10 @@ def initialize(full_path, project, disk_path: nil) ...@@ -60,12 +60,10 @@ def initialize(full_path, project, disk_path: nil)
@project = project @project = project
end end
def equals(other) def ==(other)
@disk_path == other.disk_path @disk_path == other.disk_path
end end
alias_method :==, :equals
def raw_repository def raw_repository
return nil unless full_path return nil unless full_path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment