diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-04 16:39:25 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-04 16:39:25 +0300 |
| commit | 083a88e78648f8d4ce02f868c6fa33aef70b2e0e (patch) | |
| tree | aa268f37919ffbb2ef3075450bee72825f09e4b1 /lib | |
| parent | acf1209a92472c83d4200fbbe038416d1209c8e3 (diff) | |
| parent | 7c1112bfe968a71599f9e3e0d39041f6b95a7d62 (diff) | |
| download | gitlab-shell-083a88e78648f8d4ce02f868c6fa33aef70b2e0e.tar.gz | |
Merge pull request #155 from ssandler/master
GitlabUpdate: use stripped path for repo_name
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gitlab_update.rb | 2 |
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!(/^\//, "") |
