(os: &str)
| 623 | } |
| 624 | |
| 625 | pub fn get_binary_extension(os: &str) -> &str { |
| 626 | if WINDOWS.is(os) { ".exe" } else { "" } |
| 627 | } |
| 628 | |
| 629 | pub fn parse_version(version_text: String, log: &Logger) -> Result<String, Error> { |
| 630 | if version_text.to_ascii_lowercase().contains("error") { |