From 18b4d39ac7172cb02cec63e7bf1cc21807a9b3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Rodr=C3=ADguez?= Date: Wed, 29 Jun 2016 13:58:20 -0400 Subject: Refactor repository paths handling to allow multiple git mount points --- lib/gitlab_projects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gitlab_projects.rb') diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 767ab79..ad3d3b8 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -43,8 +43,8 @@ class GitlabProjects def initialize @command = ARGV.shift + @repos_path = ARGV.shift @project_name = ARGV.shift - @repos_path = GitlabConfig.new.repos_path @full_path = File.join(@repos_path, @project_name) unless @project_name.nil? end -- cgit v1.2.1