Commit 083a88e7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #155 from ssandler/master

GitlabUpdate: use stripped path for repo_name
parents acf1209a 7c1112bf
......@@ -9,7 +9,7 @@ class GitlabUpdate
@config = GitlabConfig.new
@repo_path = repo_path.strip
@repo_name = repo_path
@repo_name = @repo_path
@repo_name.gsub!(config.repos_path.to_s, "")
@repo_name.gsub!(/\.git$/, "")
@repo_name.gsub!(/^\//, "")
......
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