mirror of
https://github.com/actions/checkout.git
synced 2024-11-25 08:01:37 +08:00
.
This commit is contained in:
parent
7a2b445a4b
commit
154a05918b
1
dist/index.js
vendored
1
dist/index.js
vendored
@ -8477,7 +8477,6 @@ function downloadFile(url, fileStream) {
|
|||||||
response.on('error', err => {
|
response.on('error', err => {
|
||||||
reject(err);
|
reject(err);
|
||||||
});
|
});
|
||||||
// response.pipe(fileStream)
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
|
@ -155,7 +155,6 @@ function downloadFile(url: string, fileStream: WriteStream): Promise<void> {
|
|||||||
response.on('error', err => {
|
response.on('error', err => {
|
||||||
reject(err)
|
reject(err)
|
||||||
})
|
})
|
||||||
// response.pipe(fileStream)
|
|
||||||
})
|
})
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
reject(err)
|
reject(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user