diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-06-12 16:37:18 -0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2017-06-12 16:37:18 -0300 |
commit | 7958223c57c893b5e98d8dcc88188c3bb7a40cfa (patch) | |
tree | c00adea79f362f9fb457366abe91ee077f6a2352 /lib/github | |
parent | de23d651e0a6b31b21c416c073ddf9e8ff97ade5 (diff) | |
download | gitlab-ce-7958223c57c893b5e98d8dcc88188c3bb7a40cfa.tar.gz |
Github - Fix token interpolation when cloning wiki repository
Diffstat (limited to 'lib/github')
-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? |