Commit 02532d58 authored by Douwe Maan's avatar Douwe Maan

Fix gitlab:env:info rake task.

parent 9f7c7c85
...@@ -30,8 +30,7 @@ namespace :gitlab do ...@@ -30,8 +30,7 @@ namespace :gitlab do
# check database adapter # check database adapter
database_adapter = ActiveRecord::Base.connection.adapter_name.downcase database_adapter = ActiveRecord::Base.connection.adapter_name.downcase
project = Project.new(path: "some-project") project = Group.new(path: "some-group").projects.build(path: "some-project")
project.path = "some-project"
# construct clone URLs # construct clone URLs
http_clone_url = project.http_url_to_repo http_clone_url = project.http_url_to_repo
ssh_clone_url = project.ssh_url_to_repo ssh_clone_url = project.ssh_url_to_repo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment