mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
🐛 Correct temp file creation call (#2185)
This commit is contained in:
parent
7a6b926e4a
commit
5d872565df
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue