Extend core public orphan filter
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
"OrphansLabel": "Ausblenden:",
|
||||
"OrphansModules": "modules/*",
|
||||
"OrphansSystems": "systems/*",
|
||||
"OrphansCorePublic": "canvas/cards/icons/sounds/toolclips/ui"
|
||||
"OrphansCorePublic": "canvas/cards/docs/icons/nue/sounds/toolclips/ui"
|
||||
},
|
||||
"Progress": {
|
||||
"Initialize": "Initialisiere Analyse",
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
"OrphansLabel": "Hide:",
|
||||
"OrphansModules": "modules/*",
|
||||
"OrphansSystems": "systems/*",
|
||||
"OrphansCorePublic": "canvas/cards/icons/sounds/toolclips/ui"
|
||||
"OrphansCorePublic": "canvas/cards/docs/icons/nue/sounds/toolclips/ui"
|
||||
},
|
||||
"Progress": {
|
||||
"Initialize": "Initializing analysis",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"id": "kosmos-storage-audit",
|
||||
"title": "Kosmos Storage Audit",
|
||||
"description": "Analyzes media references and risky storage locations across Foundry data and public roots.",
|
||||
"version": "0.0.32",
|
||||
"version": "0.0.33",
|
||||
"compatibility": {
|
||||
"minimum": "13",
|
||||
"verified": "13"
|
||||
|
||||
@@ -570,7 +570,7 @@ function shouldHideOrphanFinding(finding, orphanFilters) {
|
||||
if (orphanFilters.systems && path.startsWith("systems/")) return true;
|
||||
if (
|
||||
orphanFilters.corePublic &&
|
||||
["canvas/", "cards/", "icons/", "sounds/", "toolclips/", "ui/"].some(prefix => path.startsWith(prefix))
|
||||
["canvas/", "cards/", "docs/", "icons/", "nue/", "sounds/", "toolclips/", "ui/"].some(prefix => path.startsWith(prefix))
|
||||
) return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user