docs(submodules): document surgical artifact cleanup helper; fix gitignore probe

Made-with: Cursor
This commit is contained in:
defiQUG
2026-04-07 22:10:42 -07:00
parent 07e0273dbc
commit 518923203e
2 changed files with 8 additions and 1 deletions

View File

@@ -35,7 +35,7 @@ clean_the_order() {
return 0
fi
# Rules are committed in submodule; re-apply only if file missing patterns
if ! grep -q 'packages/\*\*/src/\*\*/\*\.js$' "$sub/.gitignore" 2>/dev/null; then
if ! grep -q 'packages/\*\*/src/\*\*' "$sub/.gitignore" 2>/dev/null; then
log " WARN: the-order/.gitignore missing expected emit rules — merge from main or run prior hygiene commit"
fi
local cnt