3db37e0562
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
15 lines
412 B
Ruby
15 lines
412 B
Ruby
module Gitlab
|
|
module GitalyClient
|
|
module Util
|
|
class << self
|
|
def repository(repository_storage, relative_path)
|
|
Gitaly::Repository.new(
|
|
path: File.join(Gitlab.config.repositories.storages[repository_storage]['path'], relative_path),
|
|
storage_name: repository_storage,
|
|
relative_path: relative_path
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|