diff --git a/scripts-dev/config-lint.sh b/scripts-dev/config-lint.sh index e9ae401dfaeb..487dbb6e84f5 100755 --- a/scripts-dev/config-lint.sh +++ b/scripts-dev/config-lint.sh @@ -2,6 +2,8 @@ # Find linting errors in Synapse's default config file. # Exits with 0 if there are no problems, or another code otherwise. +set -ex + # Fix non-lowercase true/false values sed -i -E "s/(#.*): +True/\1: true/g; s/(#.*): +False/\1: false/g;" synapse/config/*.py