fix(ci): guard rm expansion in pty-smoke registry (shellcheck SC2115)

This commit is contained in:
Garry Tan 2026-06-24 15:21:26 -07:00
parent 3ed655bcb5
commit 0c006f12ad
No known key found for this signature in database
GPG Key ID: C1F69E85C74EFE1D
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ jobs:
# cross-mount symlink). Copy SKILL.md + sections as real files so the TUI
# reads them directly.
for s in office-hours plan-ceo-review; do
rm -rf "$SKILLS_DIR/$s"
rm -rf "${SKILLS_DIR:?}/$s"
mkdir -p "$SKILLS_DIR/$s"
cp "$REPO/$s/SKILL.md" "$SKILLS_DIR/$s/SKILL.md"
cp -R "$REPO/$s/sections" "$SKILLS_DIR/$s/sections"