1
0

Prevent false positives!

This commit is contained in:
Andrew Tomaka 2017-02-01 10:52:51 -05:00
parent 6a5f7b64ae
commit e199498603

View File

@ -16,7 +16,7 @@ s3
s3.putObject(
{ Bucket: BUCKET, Key: file.path, Body: fs.createReadStream(file.path) }
).promise()
.then(() => console.log("success"))
.then(() => { console.log("success"); fs.unlinkSync("hello.txt") })
.catch(err => console.log(err))
})
})