Github - Fix token interpolation when cloning wiki repository

This commit is contained in:
Douglas Barbosa Alexandre 2017-06-12 16:37:18 -03:00
parent de23d651e0
commit 7958223c57
1 changed files with 1 additions and 1 deletions

View File

@ -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?