From 70798a6b937e08af44711ed63506d27a7b9e0879 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 12 Jun 2023 17:50:07 +0100 Subject: [PATCH] Clean --- packages/backend-core/src/security/encryption.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend-core/src/security/encryption.ts b/packages/backend-core/src/security/encryption.ts index 22a747ac30..8a2657bb40 100644 --- a/packages/backend-core/src/security/encryption.ts +++ b/packages/backend-core/src/security/encryption.ts @@ -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) }) })