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