Skip to content

Commit

Permalink
fix: run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Revyn112 committed Nov 16, 2024
1 parent 42dcb35 commit 59e5bd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/utils/IncompatibleAddOnsCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class IncompatibleAddOnsCheck {
const titleMatches = !item.title || manifest.title === item.title;
const creatorMatches = !item.creator || manifest.creator === item.creator;
const packageVersionTargeted =
!item.packageVersion || semverSatisfies(manifest.package_version, item.packageVersion);
!item.packageVersion || semverSatisfies(manifest.package_version, item.packageVersion);

if (titleMatches && creatorMatches && packageVersionTargeted) {
// Also write this to the log as this info might be useful for support.
Expand All @@ -54,7 +54,7 @@ export class IncompatibleAddOnsCheck {
description: item.description,
});
}
}
}
} catch (e) {
console.warn(`Failed to read or parse manifest.json in ${filePath}:`, e.message);
}
Expand Down

0 comments on commit 59e5bd2

Please sign in to comment.