Skip to content

Commit a340069

Browse files
vdusekclaude
andcommitted
fix: Quote variable expansions in for loop globs to satisfy shellcheck
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4fa3e39 commit a340069

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/manual_version_docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ jobs:
9292
echo "Version: $VERSION, Major.Minor: $MAJOR_MINOR, Major: $MAJOR"
9393
9494
# Remove ALL existing versions for this major (not just exact major.minor match).
95-
for dir in versioned_docs/version-${MAJOR}.*; do
95+
for dir in "versioned_docs/version-${MAJOR}."*; do
9696
if [ -d "$dir" ]; then
9797
echo "Removing $dir"
9898
rm -rf "$dir"
9999
fi
100100
done
101-
for file in versioned_sidebars/version-${MAJOR}.*-sidebars.json; do
101+
for file in "versioned_sidebars/version-${MAJOR}."*-sidebars.json; do
102102
if [ -f "$file" ]; then
103103
echo "Removing $file"
104104
rm -f "$file"

0 commit comments

Comments
 (0)