From 0fb4d7fc19f41a7a5417483b3a2cfa7ca065023b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Thu, 9 Feb 2023 11:45:32 +0100 Subject: [PATCH] fix(core): Stop creating icons directories (no-changelog) (#5431) forgot to remove this in https://github.com/n8n-io/n8n/pull/5419 --- packages/cli/src/LoadNodesAndCredentials.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/cli/src/LoadNodesAndCredentials.ts b/packages/cli/src/LoadNodesAndCredentials.ts index 21d7666c4c..478b5fe6d8 100644 --- a/packages/cli/src/LoadNodesAndCredentials.ts +++ b/packages/cli/src/LoadNodesAndCredentials.ts @@ -63,9 +63,6 @@ export class LoadNodesAndCredentialsClass implements INodesAndCredentials { // eslint-disable-next-line @typescript-eslint/no-unsafe-call module.constructor._initPaths(); - await mkdir(path.join(GENERATED_STATIC_DIR, 'icons/nodes'), { recursive: true }); - await mkdir(path.join(GENERATED_STATIC_DIR, 'icons/credentials'), { recursive: true }); - await this.loadNodesFromBasePackages(); await this.loadNodesFromDownloadedPackages(); await this.loadNodesFromCustomDirectories();