From 7958223c57c893b5e98d8dcc88188c3bb7a40cfa Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Mon, 12 Jun 2017 16:37:18 -0300 Subject: [PATCH] Github - Fix token interpolation when cloning wiki repository --- lib/github/import.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?