Fix indenting
This commit is contained in:
@@ -123,10 +123,10 @@ export async function streamExtractExternal(
|
|||||||
|
|
||||||
const hashStream = crypto.createHash('sha256').setEncoding('hex')
|
const hashStream = crypto.createHash('sha256').setEncoding('hex')
|
||||||
const passThrough = new stream.PassThrough()
|
const passThrough = new stream.PassThrough()
|
||||||
.on('data', () => {
|
.on('data', () => {
|
||||||
timer.refresh()
|
timer.refresh()
|
||||||
})
|
})
|
||||||
.on('error', onError)
|
.on('error', onError)
|
||||||
|
|
||||||
response.message.pipe(passThrough)
|
response.message.pipe(passThrough)
|
||||||
passThrough.pipe(hashStream)
|
passThrough.pipe(hashStream)
|
||||||
|
|||||||
Reference in New Issue
Block a user