Skip to content
Snippets Groups Projects
Unverified Commit de601ac3 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

fix sanitized path

parent 7becd4d2
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ class Git::Repository
end
end
def sanitized_path(git_file)
git_file.path&.gsub(/\/+/, '/')
def sanitized_path(path)
path&.gsub(/\/+/, '/')
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment