Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
7958223c
Commit
7958223c
authored
Jun 12, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Github - Fix token interpolation when cloning wiki repository
parent
de23d651
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/github/import.rb
lib/github/import.rb
+1
-1
No files found.
lib/github/import.rb
View file @
7958223c
...
@@ -92,7 +92,7 @@ module Github
...
@@ -92,7 +92,7 @@ module Github
end
end
def
fetch_wiki_repository
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"
wiki_path
=
"
#{
project
.
path_with_namespace
}
.wiki"
unless
project
.
wiki
.
repository_exists?
unless
project
.
wiki
.
repository_exists?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment