mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Correct temp file creation call (#2185)
This commit is contained in:
@@ -46,8 +46,8 @@ export async function createCustomTsconfig() {
|
|||||||
tsConfig.include = newIncludeFiles;
|
tsConfig.include = newIncludeFiles;
|
||||||
|
|
||||||
// Write new custom tsconfig file
|
// Write new custom tsconfig file
|
||||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-call @typescript-eslint/no-unsafe-any
|
||||||
const { fd, path, cleanup } = await file({ dir: process.cwd() });
|
const { fd, path, cleanup } = await file();
|
||||||
await fsWriteAsync(fd, Buffer.from(JSON.stringify(tsConfig, null, 2), 'utf8'));
|
await fsWriteAsync(fd, Buffer.from(JSON.stringify(tsConfig, null, 2), 'utf8'));
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user