summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-06-12 16:37:18 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-06-12 16:37:18 -0300
commit7958223c57c893b5e98d8dcc88188c3bb7a40cfa (patch)
treec00adea79f362f9fb457366abe91ee077f6a2352 /lib
parentde23d651e0a6b31b21c416c073ddf9e8ff97ade5 (diff)
downloadgitlab-ce-7958223c57c893b5e98d8dcc88188c3bb7a40cfa.tar.gz
Github - Fix token interpolation when cloning wiki repository
Diffstat (limited to 'lib')
-rw-r--r--lib/github/import.rb2
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?