From 0d94198a2badcc9ba9bdd39fee6e73e6a2f61d27 Mon Sep 17 00:00:00 2001 From: Cristian Dominguez Date: Fri, 1 Nov 2024 10:16:54 -0300 Subject: [PATCH] fix: resolver respects forceignore --- src/collections/componentSetBuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/collections/componentSetBuilder.ts b/src/collections/componentSetBuilder.ts index 578d5f06f..ce3c8a0e3 100644 --- a/src/collections/componentSetBuilder.ts +++ b/src/collections/componentSetBuilder.ts @@ -152,7 +152,7 @@ export class ComponentSetBuilder { if (resolvedComponents.forceIgnoredPaths) { // if useFsForceIgnore = true, then we won't be able to resolve a forceignored path, // which we need to do to get the ignored source component - const resolver = new MetadataResolver(registry, undefined, false); + const resolver = new MetadataResolver(registry, undefined, true); for (const ignoredPath of resolvedComponents.forceIgnoredPaths ?? []) { resolver.getComponentsFromPath(ignoredPath).map((ignored) => {