Clean
This commit is contained in:
parent
ded738a566
commit
70798a6b93
|
@ -150,7 +150,7 @@ function readBytes(stream: fs.ReadStream, length: number) {
|
|||
reject(new Error("Insufficient data in the stream."))
|
||||
})
|
||||
|
||||
stream.on("error", (error: any) => {
|
||||
stream.on("error", error => {
|
||||
reject(error)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue