remove async
This commit is contained in:
parent
15d0d178d6
commit
f6d4a97cdd
|
@ -131,7 +131,7 @@ module S3Module {
|
|||
.createReadStream()
|
||||
|
||||
let csvError = false
|
||||
return new Promise(async (resolve, reject) => {
|
||||
return new Promise((resolve, reject) => {
|
||||
stream.on("error", (err: Error) => {
|
||||
reject(err)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue