Download scripts/check_log_capitalization.sh from SaylorTwift/crush: direct link, hf CLI and curl.
- Browser
- Download file 232 Bytes
-
https://huggingface.co/SaylorTwift/crush/resolve/main/scripts/check_log_capitalization.sh
- Command line
-
hf download hf://SaylorTwift/crush/scripts/check_log_capitalization.sh
-
curl -L -o check_log_capitalization.sh https://huggingface.co/SaylorTwift/crush/resolve/main/scripts/check_log_capitalization.sh
232 Bytes
| if grep -rE 'slog\.(Error|Info|Warn|Debug|Fatal|Print|Println|Printf)\(["\"][a-z]' --include="*.go" . 2>/dev/null; then | |
| echo "❌ Log messages must start with a capital letter. Found lowercase logs above." | |
| exit 1 | |
| fi | |