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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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