fix(core): Stop creating icons directories (no-changelog) (#5431)

forgot to remove this in https://github.com/n8n-io/n8n/pull/5419
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-02-09 11:45:32 +01:00 committed by GitHub
parent 9024e4dcc7
commit 0fb4d7fc19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();