fix(core): Restore community nodes installation (#5180)

🐛 Fix check for community nodes not installing
This commit is contained in:
Iván Ovejero
2023-01-17 16:04:58 +01:00
committed by GitHub
parent e839a81cc5
commit c0268f572f

View File

@@ -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[]> {