Commit 04e1c4d3 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'fix-rake-info' into 'master'

Fix gitlab:env:info rake task.

Found doing QA.

See merge request !1169
parents 2b127c3f 02532d58
......@@ -30,8 +30,7 @@ namespace :gitlab do
# check database adapter
database_adapter = ActiveRecord::Base.connection.adapter_name.downcase
project = Project.new(path: "some-project")
project.path = "some-project"
project = Group.new(path: "some-group").projects.build(path: "some-project")
# construct clone URLs
http_clone_url = project.http_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