From 5d872565dffc44859b910f65089c5b1696829048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Aguirre?= Date: Thu, 16 Sep 2021 03:44:29 -0300 Subject: [PATCH] :bug: Correct temp file creation call (#2185) --- packages/node-dev/src/Build.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/node-dev/src/Build.ts b/packages/node-dev/src/Build.ts index e93315673f..af8477ed3a 100644 --- a/packages/node-dev/src/Build.ts +++ b/packages/node-dev/src/Build.ts @@ -46,8 +46,8 @@ export async function createCustomTsconfig() { tsConfig.include = newIncludeFiles; // Write new custom tsconfig file - // eslint-disable-next-line @typescript-eslint/unbound-method - const { fd, path, cleanup } = await file({ dir: process.cwd() }); + // eslint-disable-next-line @typescript-eslint/no-unsafe-call @typescript-eslint/no-unsafe-any + const { fd, path, cleanup } = await file(); await fsWriteAsync(fd, Buffer.from(JSON.stringify(tsConfig, null, 2), 'utf8')); return {