remove async
This commit is contained in:
parent
8c40394d35
commit
0e219e1545
|
@ -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)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue