fix nil path error
This commit is contained in:
parent
7d03a55c98
commit
a9402708b2
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ class RemoveDotGitFromUsernames < ActiveRecord::Migration
|
|||
Gitlab.config.repositories.storages[row['repository_storage']]
|
||||
end.compact
|
||||
|
||||
path = nil
|
||||
|
||||
# Move the namespace directory in all storages paths used by member projects
|
||||
repository_storage_paths.each do |repository_storage_path|
|
||||
# Ensure old directory exists before moving it
|
||||
|
|
Loading…
Reference in a new issue