(os: &str)
| 637 | } |
| 638 | |
| 639 | pub fn get_binary_extension(os: &str) -> &str { |
| 640 | if WINDOWS.is(os) { ".exe" } else { "" } |
| 641 | } |
| 642 | |
| 643 | pub fn parse_version(version_text: String, log: &Logger) -> Result<String, Error> { |
| 644 | if version_text.to_ascii_lowercase().contains("error") { |