@blamejs/exceptd-skills 0.21.9 → 0.21.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -298,7 +298,15 @@ function main() {
298
298
  : [])
299
299
  : extendedFindings;
300
300
 
301
+ // Every extended class the run covers is listed, so a class with no
302
+ // findings reports 0 rather than being absent from the totals.
301
303
  const extendedByClass = {};
304
+ if (!opts.catalog) {
305
+ const covered = opts.klass
306
+ ? (EXTENDED_CLASS_NAMES.has(opts.klass) ? [opts.klass] : [])
307
+ : [...EXTENDED_CLASS_NAMES];
308
+ for (const cls of covered) extendedByClass[cls] = [];
309
+ }
302
310
  for (const f of filteredExtended) {
303
311
  if (!extendedByClass[f.class]) extendedByClass[f.class] = [];
304
312
  extendedByClass[f.class].push(f);
@@ -64,8 +64,9 @@ const BUDGET = {
64
64
  // Lesson and catalog texts that cite the curation input ("Packet: ...", "the
65
65
  // packet names ...", "the packet's own ...") instead of stating the fact and
66
66
  // its source. refresh --curate-batch refuses a new one that cites a catalog
67
- // field and warns on the rest; the budget comes down as texts are rewritten.
68
- "pipeline-wording": 326
67
+ // field and warns on the rest. No shipped text carries this wording, and the
68
+ // budget holds it at 0.
69
+ "pipeline-wording": 0
69
70
  };
70
71
 
71
72
  function main() {