diff options
author | James Lopez <james@jameslopez.es> | 2017-01-16 15:39:57 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-16 15:39:57 +0300 |
commit | efea5e70966ccd656577c794e767ac00154b5c83 (patch) | |
tree | a27059f9799496f5a3b6fcc9d64a2914385e7182 | |
parent | 320cd7f3648b0e30bf48d0fff461d1f79090a589 (diff) |
fix typo
-rw-r--r-- | db/migrate/20161226122833_remove_dot_git_from_usernames.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb index c3a8f2fd91c..a01f7e4ed52 100644 --- a/db/migrate/20161226122833_remove_dot_git_from_usernames.rb +++ b/db/migrate/20161226122833_remove_dot_git_from_usernames.rb @@ -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}" |