fix typo
This commit is contained in:
parent
320cd7f364
commit
efea5e7096
|
@ -71,7 +71,7 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration
|
||||||
route_exists = route_exists?(path)
|
route_exists = route_exists?(path)
|
||||||
|
|
||||||
Gitlab.config.repositories.storages.each_value do |storage|
|
Gitlab.config.repositories.storages.each_value do |storage|
|
||||||
if route_exists && path_exists?(path, storage)
|
if route_exists || path_exists?(path, storage)
|
||||||
counter += 1
|
counter += 1
|
||||||
path = "#{base}#{counter}"
|
path = "#{base}#{counter}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue