mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 08:58:28 +02:00
close -> unpipe
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
This commit is contained in:
parent
5b4e84811e
commit
855a44af6d
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ async function run(): Promise<void> {
|
|||
core.debug(`S3 download uri: s3://${s3Bucket}/${fileObject.Key}`)
|
||||
const readStream = s3.getObject(getObjectParams).createReadStream()
|
||||
readStream.pipe(writeStream)
|
||||
writeStream.close()
|
||||
readStream.unpipe()
|
||||
core.info(`Finished download for ${localKey}`)
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue