@feigi/fleet-ctl 3.21.6 → 3.21.7
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.
package/package.json
CHANGED
|
@@ -513,8 +513,12 @@ const FILES = [
|
|
|
513
513
|
},
|
|
514
514
|
{
|
|
515
515
|
path: ["scripts", "ledger.mjs"],
|
|
516
|
-
|
|
517
|
-
|
|
516
|
+
// #2516. The `filed` subcommand's isDigits() comment pointed at
|
|
517
|
+
// "(line ~1527)" for the `keyNum` check it mirrors — a line that had
|
|
518
|
+
// already drifted into an unrelated comment. It names the check by its
|
|
519
|
+
// enclosing function now.
|
|
520
|
+
stale: [/fleet-plugin-design\.md:200/, /candidates\.mjs:279/, /\blines?\s+~?\d+/],
|
|
521
|
+
live: ["refuseIfCapped", "runDispatch's `keyNum` check"],
|
|
518
522
|
},
|
|
519
523
|
{
|
|
520
524
|
path: ["scripts", "ledger.test.mjs"],
|
package/scripts/ledger.mjs
CHANGED
|
@@ -884,8 +884,8 @@ if (cmd === "read") {
|
|
|
884
884
|
refuseStrayInId(issue, "an issue number");
|
|
885
885
|
const subject = subjectParts.join(" ");
|
|
886
886
|
const id = issue.replace(/^#/, "");
|
|
887
|
-
// isDigits() gates id the same way
|
|
888
|
-
//
|
|
887
|
+
// isDigits() gates id the same way runDispatch's `keyNum` check gates the
|
|
888
|
+
// ticket/PR key: left unvalidated, a non-digit id becomes a `#<id> ` prefix
|
|
889
889
|
// subjectOf()'s digits-only regex cannot strip, so a near-duplicate
|
|
890
890
|
// `check` against that row silently degrades from the hard "already
|
|
891
891
|
// filed" block to a soft near-miss suggestion instead.
|