Commit dcebe149 authored by Jacob Vosmaer's avatar Jacob Vosmaer

rubocop

parent 80242f24
......@@ -102,7 +102,7 @@ module Gitlab
#
# Gitaly migration: https://gitlab.com/gitlab-org/gitaly/issues/387
def import_repository(storage, name, url)
if url.start_with?('.') || url.start_with?('/')
if url.start_with?('.', '/')
raise Error.new("don't use disk paths with import_repository: #{url.inspect}")
end
......
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