diff --git a/packages/cli/src/LoadNodesAndCredentials.ts b/packages/cli/src/LoadNodesAndCredentials.ts index eccfcb0804..0d0eb21df3 100644 --- a/packages/cli/src/LoadNodesAndCredentials.ts +++ b/packages/cli/src/LoadNodesAndCredentials.ts @@ -192,7 +192,7 @@ class LoadNodesAndCredentialsClass { * @memberof N8nPackagesInformationClass */ async loadDataFromDirectory(setPackageName: string, directory: string): Promise { - const files = await glob(path.join(directory, '*\.@(node|credentials)\.js')); + const files = await glob(path.join(directory, '**/*\.@(node|credentials)\.js')); let fileName: string; let type: string;