remove trailing slashes

This commit is contained in:
Vicente Canales 2024-08-14 12:53:59 -04:00
parent c53b2951ef
commit 11b87c993a
No known key found for this signature in database

View file

@ -36,6 +36,9 @@ rm -rf ./deploy
# Do things for all of the themes
for THEME_SLUG in */ ; do
# Remove slashes from the theme slug
THEME_SLUG=${THEME_SLUG%/}
# Skip any classic themes (assuming that none of our classic themes use a theme.json file)
if ! test -f "./${THEME_SLUG}/theme.json"; then
# echo "Ignoring classic theme ${THEME_SLUG}. Moving on."