diff --git a/src/license.rs b/src/license.rs index 7d4270052..8875d2b64 100644 --- a/src/license.rs +++ b/src/license.rs @@ -37,11 +37,6 @@ pub fn get_license_from_string(s: &str) -> ResultType { s }; if s.contains("host=") { - let s = if s.contains("#") { - &s[0..s.find("#").unwrap_or(s.len())] - } else { - s - }; let strs: Vec<&str> = s.split("host=").collect(); if strs.len() == 2 { let strs2: Vec<&str> = strs[1].split(",key=").collect();