clippy
This commit is contained in:
@@ -1054,7 +1054,9 @@ pub fn init_or_update(config_file: &str, is_init: bool, check_only: bool) -> Res
|
||||
print_update_manifest(&update_manifest);
|
||||
|
||||
if timestamp_secs()
|
||||
< u64::from_str_radix(crate::build_env::BUILD_SECONDS_SINCE_UNIX_EPOCH, 10).unwrap()
|
||||
< crate::build_env::BUILD_SECONDS_SINCE_UNIX_EPOCH
|
||||
.parse::<u64>()
|
||||
.unwrap()
|
||||
{
|
||||
return Err("Unable to update as system time seems unreliable".to_string());
|
||||
}
|
||||
|
Reference in New Issue
Block a user