remove async
This commit is contained in:
parent
8c40394d35
commit
0e219e1545
|
@ -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