This commit is contained in:
James Lopez 2017-01-16 13:39:57 +01:00
parent 320cd7f364
commit efea5e7096
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration
route_exists = route_exists?(path)
Gitlab.config.repositories.storages.each_value do |storage|
if route_exists && path_exists?(path, storage)
if route_exists || path_exists?(path, storage)
counter += 1
path = "#{base}#{counter}"