We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12f4c85 commit 35a64d5Copy full SHA for 35a64d5
client/src/addon_manager/services/addonManager.service.ts
@@ -33,11 +33,13 @@ class AddonManager {
33
34
const ignoreList = [".DS_Store"];
35
let addons = await filesystem.readDirectory(installLocation);
36
+ if (addons) {
37
+ addons = addons.filter((a) => !ignoreList.includes(a.name));
38
+ }
39
if (!addons) {
40
localLogger.warn("No addons found in installation folder");
41
return;
42
}
- addons = addons.filter((a) => !ignoreList.includes(a.name));
43
for (const addon of addons) {
44
this.addons.set(addon.name, new Addon(addon.name, addon.uri));
45
localLogger.verbose(`Found ${addon.name}`);
0 commit comments