Commit 9d03bb10 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #13 from redorkulated/master

gitlab_update: Stop matching all on .git
parents eb2c08d8 af323545
...@@ -6,7 +6,7 @@ class GitlabUpdate ...@@ -6,7 +6,7 @@ class GitlabUpdate
@repo_path = repo_path.strip @repo_path = repo_path.strip
@repo_name = repo_path @repo_name = repo_path
@repo_name.gsub!(GitlabConfig.new.repos_path.to_s, "") @repo_name.gsub!(GitlabConfig.new.repos_path.to_s, "")
@repo_name.gsub!(/.git$/, "") @repo_name.gsub!(/\.git$/, "")
@repo_name.gsub!(/^\//, "") @repo_name.gsub!(/^\//, "")
@key_id = key_id @key_id = key_id
......
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