Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rebuild index.js
  • Loading branch information
BrettDong committed Apr 11, 2023
commit f6d3681212aabeea22c37cd6a9e0d32da25f8bee
3 changes: 0 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1554,9 +1554,6 @@ function downloadArchive(authToken, owner, repo, ref, commit, baseUrl) {
repo: repo,
ref: commit || ref
});
if (response.status != 302) {
throw new Error(`Unexpected response from GitHub API. Status: ${response.status}, Data: ${response.data}`);
}
return Buffer.from(response.data); // response.data is ArrayBuffer
});
}
Expand Down