cockroachdb-parser
cockroachdb-parser copied to clipboard
fix: trim CRLF and whitespace from version.txt for cross-platform compatibility
Replaces TrimSuffix with TrimSpace in parseCockroachVersion to correctly handle Windows-style line endings (\r\n) and other trailing whitespace. This prevents version parsing errors when version.txt contains CRLF line endings.