remove async

This commit is contained in:
Mel O'Hagan 2022-08-30 15:19:18 +01:00
parent 8c40394d35
commit 0e219e1545
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ module S3Module {
.createReadStream() .createReadStream()
let csvError = false let csvError = false
return new Promise(async (resolve, reject) => { return new Promise((resolve, reject) => {
stream.on("error", (err: Error) => { stream.on("error", (err: Error) => {
reject(err) reject(err)
}) })