Fix linter errors

Signed-off-by: Otto Sichert <git@ottosichert.de>
This commit is contained in:
Otto Sichert
2022-06-22 10:26:22 +02:00
committed by blam
parent cfa078e255
commit c878f1c9f3
@@ -44,7 +44,7 @@ export async function streamToTimeoutPromise<T>(
}, options.timeoutMs);
});
await new Promise(function (resolve, reject) {
await new Promise((resolve, reject) => {
stream.on('finish', resolve);
stream.on('error', reject);
});