Commit af323545 authored by Michael's avatar Michael

gitlab_update: Stop matching all

Commenting out . to stop all single char matches rather then just ".git"
parent 4bbda0b2
...@@ -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