Skip to content

Commit b2fe8ae

Browse files
log headers
1 parent 7282792 commit b2fe8ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Downloader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function handleTarExtraction(filepath: string, extractedPath: string): Promise<v
2424
function getFileDownloadURLRedirect(url: string): Promise<string> {
2525
return new Promise((resolve, reject) => {
2626
const request = https.get(url, response => {
27-
console.log('Request:', request.req)
27+
console.log('Headers:', response.headers)
2828
const statusCode = response.statusCode
2929
const location = response.headers.location
3030

0 commit comments

Comments
 (0)