mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Restore community nodes installation (#5180)
🐛 Fix check for community nodes not installing
This commit is contained in:
@@ -12,7 +12,7 @@ export async function findInstalledPackage(packageName: string): Promise<Install
|
||||
|
||||
export async function isPackageInstalled(packageName: string): Promise<boolean> {
|
||||
const installedPackage = await findInstalledPackage(packageName);
|
||||
return installedPackage !== undefined;
|
||||
return installedPackage !== null;
|
||||
}
|
||||
|
||||
export async function getAllInstalledPackages(): Promise<InstalledPackages[]> {
|
||||
|
||||
Reference in New Issue
Block a user