🐛 Correct temp file creation call (#2185)

This commit is contained in:
Matías Aguirre 2021-09-16 03:44:29 -03:00 committed by GitHub
parent 7a6b926e4a
commit 5d872565df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {