@codedrifters/configulator 0.0.390 → 0.0.391
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/lib/index.js +7 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +7 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -15213,11 +15213,16 @@ function buildCheckBlockedScript(tiers, scopeGate, _runRatio) {
|
|
|
15213
15213
|
" .[] |",
|
|
15214
15214
|
' (.body | split("\\n") | map(select(test("Depends on:"; "i"))) | .[0] // "") as $dep_line |',
|
|
15215
15215
|
' (.labels | map(.name) | map(select(startswith("type:"))) | .[0] // "") as $type_label |',
|
|
15216
|
-
' "\\(.number)\\t\\(.title)\\t\\($
|
|
15216
|
+
' "\\(.number)\\t\\(.title)\\t\\($type_label)\\t\\($dep_line)"',
|
|
15217
15217
|
" ')",
|
|
15218
15218
|
"",
|
|
15219
15219
|
' local results=""',
|
|
15220
|
-
"
|
|
15220
|
+
" # Field order: number, title, type_label, dep_line. dep_line is the",
|
|
15221
|
+
" # only optional field, so it MUST stay last: an absent Depends-on line",
|
|
15222
|
+
" # yields an empty trailing field, whereas an empty non-last field",
|
|
15223
|
+
" # collapses under IFS=tab and shifts every later field left, dropping",
|
|
15224
|
+
" # type_label off the end (#884). Matches the cmd_stale blocked scan.",
|
|
15225
|
+
" while IFS=$'\\t' read -r num title type_label dep_line; do",
|
|
15221
15226
|
' [[ -z "$num" ]] && continue',
|
|
15222
15227
|
"",
|
|
15223
15228
|
' local deps=""',
|