Преглед изворни кода

chore(config): format resolver review fix

Aveer пре 1 дан
родитељ
комит
49cca1a8f0
1 измењених фајлова са 2 додато и 6 уклоњено
  1. 2 6
      src/cli/skills.ts

+ 2 - 6
src/cli/skills.ts

@@ -149,9 +149,7 @@ export function resolveEffectiveSkills(
   // Apply explicit token removals before deriving active exclusions. This
   // is what makes removing '!foo' genuinely lift that inherited exclusion.
   const removeSet = new Set(removeList);
-  const baseAfterRemoval = workingBase.filter(
-    (token) => !removeSet.has(token),
-  );
+  const baseAfterRemoval = workingBase.filter((token) => !removeSet.has(token));
 
   // Additions must not override exclusions that remain after removals.
   const excluded = new Set(
@@ -163,9 +161,7 @@ export function resolveEffectiveSkills(
   const list = [
     ...new Set([
       ...baseAfterRemoval,
-      ...addList.filter(
-        (name) => !excluded.has(name) && !removeSet.has(name),
-      ),
+      ...addList.filter((name) => !excluded.has(name) && !removeSet.has(name)),
     ]),
   ];