summaryrefslogtreecommitdiff
path: root/lib/gitlab_update.rb
diff options
context:
space:
mode:
authorScott Sandler <ssandler@wayfair.com>2014-06-16 15:41:10 -0400
committerScott Sandler <ssandler@wayfair.com>2014-06-16 15:41:10 -0400
commit7c1112bfe968a71599f9e3e0d39041f6b95a7d62 (patch)
treea89883e5b9b0dd15d6b73a06885831bb69e12901 /lib/gitlab_update.rb
parentca425566d0266a1786019153757e283d7d246450 (diff)
downloadgitlab-shell-7c1112bfe968a71599f9e3e0d39041f6b95a7d62.tar.gz
GitlabUpdate: use stripped path for repo_name
Diffstat (limited to 'lib/gitlab_update.rb')
-rw-r--r--lib/gitlab_update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_update.rb b/lib/gitlab_update.rb
index 4b0673f..3857346 100644
--- a/lib/gitlab_update.rb
+++ b/lib/gitlab_update.rb
@@ -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!(/^\//, "")