Skip to content

Commit 7282792

Browse files
move log
1 parent 75f2e98 commit 7282792

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libraries/Downloader.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +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)
2728
const statusCode = response.statusCode
2829
const location = response.headers.location
2930

@@ -46,8 +47,6 @@ function getFileDownloadURLRedirect(url: string): Promise<string> {
4647
request.destroy();
4748
reject(err.message)
4849
})
49-
50-
console.log('Request:', request.req)
5150
})
5251
}
5352

0 commit comments

Comments
 (0)