mirror of
https://github.com/actions/checkout
synced 2024-11-13 00:41:41 +00:00
.
This commit is contained in:
parent
7a2b445a4b
commit
154a05918b
2 changed files with 0 additions and 2 deletions
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 a new issue