cockroachdb-parser icon indicating copy to clipboard operation
cockroachdb-parser copied to clipboard

fix: trim CRLF and whitespace from version.txt for cross-platform compatibility

Open btoonk opened this issue 4 months ago • 0 comments

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.

btoonk avatar Jul 16 '25 08:07 btoonk