Consistency

This commit is contained in:
David Heinemeier Hansson
2026-05-21 19:30:30 +02:00
parent 486c73e6df
commit fed2298235
14 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
# `cursor-surface`, `slider`, `toggle`, `dropdown`, etc. Unknown names
# are ignored and the gallery opens at its normal default position.
if [[ $# -gt 0 && -n $1 ]]; then
if (( $# > 0 )) && [[ -n $1 ]]; then
section="$1"
payload=$(printf '{"section":"%s"}' "${section//\"/}")
else