diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-06-13 13:01:37 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-06-13 13:01:37 +0000 |
commit | 0d499ce215b8ce4623349c4b00311c810f83c77c (patch) | |
tree | 2c80222c1f3b35754c5b51472b0542032f2324c3 /lib | |
parent | 44b806d0fe3f37e2739bccf6f21bb7ed8caccef3 (diff) | |
parent | c66bcdd96cf00b9cb7b908b4eef576998a51e778 (diff) | |
download | gitlab-ce-0d499ce215b8ce4623349c4b00311c810f83c77c.tar.gz |
Merge branch 'fix-github-clone-wiki' into 'master'
GitHub - Fix token interpolation when cloning wiki repository
See merge request !12107
Diffstat (limited to 'lib')
-rw-r--r-- | lib/github/import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/import.rb b/lib/github/import.rb index 9c7eb965f93..b20614b3060 100644 --- a/lib/github/import.rb +++ b/lib/github/import.rb @@ -92,7 +92,7 @@ module Github end def fetch_wiki_repository - wiki_url = "https://{options.fetch(:token)}@github.com/#{repo}.wiki.git" + wiki_url = "https://#{options.fetch(:token)}@github.com/#{repo}.wiki.git" wiki_path = "#{project.path_with_namespace}.wiki" unless project.wiki.repository_exists? |