mirror of
https://github.com/sharkdp/bat.git
synced 2025-01-31 18:21:04 +00:00
91a347bf6d
Less 581.2 is here, and it has a ".2" in the version string, which can't be parsed as a usize. Update the check to find a non-digit character rather than a space. This ignores the minor version, but parses the major version correctly.