diff options
| author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-12 14:50:25 -0200 |
|---|---|---|
| committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-01-14 12:09:31 -0200 |
| commit | 89e8b82b638e440bc487c4135cdfa4402fdffde5 (patch) | |
| tree | c71859880913c8968514512124c13fcfb9de283f /lib | |
| parent | ca87bb652a1a8390cdc686059f670b89b274dce2 (diff) | |
| download | gitlab-ce-89e8b82b638e440bc487c4135cdfa4402fdffde5.tar.gz | |
Make sure the .git is at the end on Gitlab::GithubImport::WikiFormatter
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gitlab/github_import/wiki_formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/github_import/wiki_formatter.rb b/lib/gitlab/github_import/wiki_formatter.rb index 6dd2b917c4a..6c592ff469c 100644 --- a/lib/gitlab/github_import/wiki_formatter.rb +++ b/lib/gitlab/github_import/wiki_formatter.rb @@ -12,7 +12,7 @@ module Gitlab end def import_url - project.import_url.sub(".git", ".wiki.git") + project.import_url.sub(/\.git\z/, ".wiki.git") end end end |
