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

Fix gitlab:env:info rake task.

Found doing QA.

See merge request !1169
This commit is contained in:
Robert Speicher 2015-08-18 15:47:38 +00:00
commit 04e1c4d3da

View file

@ -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