mirror of https://github.com/sharkdp/bat
Fix less version parsing for minor versions of less
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.pull/1598/head^2
parent
e219c8fc03
commit
91a347bf6d
Loading…
Reference in New Issue