You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently $(( is treated as arithmetic even when it isn't. Example Bash snippet which finds modified txt files but doesn't return an exit code if grep finds no matches:
TXT_FILES=$((git diff --name-only --diff-filter=ACMR main | grep \.txt) || true)if [[ -z "$TXT_FILES" ]]; then echo 'no text files modified'fi
Adding a space after $( and before ( fixes the highlighting but shouldn't be necessary.
The text was updated successfully, but these errors were encountered:
deathaxe
added a commit
to deathaxe/sublime-packages
that referenced
this issue
Sep 5, 2024
What happened?
Currently
$((
is treated as arithmetic even when it isn't. Example Bash snippet which finds modified txt files but doesn't return an exit code if grep finds no matches:Adding a space after
$(
and before(
fixes the highlighting but shouldn't be necessary.The text was updated successfully, but these errors were encountered: