mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-26 00:18:30 +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
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -31195,7 +31195,7 @@ function run() {
|
|||
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