inline format args
This commit is contained in:
parent
87001a9850
commit
537225dff2
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ fn load_config_from_path<P: AsRef<Path>>(path: P) -> Option<Config> {
|
|||
let current_mode = metadata.permissions().mode() & 0o777;
|
||||
if current_mode != 0o600 {
|
||||
warn!(
|
||||
found = format!("{:o}", current_mode),
|
||||
found = format!("{current_mode:o}"),
|
||||
expected = "600",
|
||||
"File permissions too broad! Your GLOBAL Cloudflare API key is accessible to all users on the system!"
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue