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

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?