|
|
@ -8098,7 +8098,7 @@ function downloadRepository(accessToken, owner, repo, ref, repositoryPath) {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
const octokit = new github.GitHub(accessToken);
|
|
|
|
const octokit = new github.GitHub(accessToken);
|
|
|
|
const params = {
|
|
|
|
const params = {
|
|
|
|
archive_format: IS_WINDOWS ? 'zipball' : 'tarballl',
|
|
|
|
archive_format: IS_WINDOWS ? 'zipball' : 'tarball',
|
|
|
|
owner: owner,
|
|
|
|
owner: owner,
|
|
|
|
repo: repo,
|
|
|
|
repo: repo,
|
|
|
|
ref: ref
|
|
|
|
ref: ref
|
|
|
|