New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable download template from a private github repo using personal access token #5715

merged 2 commits into from Jan 22, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings


Just for now

@@ -64,7 +64,7 @@ function parseGitHubURL(url) {
// validate if given url is a valid GitHub url // validate if given url is a valid GitHub url
validateUrl(url, '', 'GitHub', owner, repo); validateUrl(url, '', 'GitHub', owner, repo);

const downloadUrl = `${owner}/${repo}/archive/${branch}.zip`; const downloadUrl = `https://${url.auth ? `${url.auth}@` : ''}${owner}/${repo}/archive/${branch}.zip`;

return { return {
owner, owner,
ProTip! Use n and p to navigate between commits in a pull request.