fix: type error

This commit is contained in:
GyDi 2023-03-16 13:51:46 +08:00
parent daf66bcec4
commit c77db23586
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -181,7 +181,7 @@ pub fn grant_permission(core: String) -> CmdResult {
return wrap_err!(manager::grant_permission(core));
#[cfg(not(target_os = "macos"))]
return Err("Unsupported target");
return Err("Unsupported target".into());
}
/// get the system proxy