Skip to content

Commit

Permalink
Remove unneeded format!()
Browse files Browse the repository at this point in the history
  • Loading branch information
milliams committed Jul 11, 2024
1 parent c8075b2 commit a8f426e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ fn main() -> Result<()> {
]
.join(std::ffi::OsStr::new("")),
);
let cert_details_file_path = cache_dir.join(format!("cert.json"));
let cert_details_file_path = cache_dir.join("cert.json");

match &args.command {
Some(Commands::Auth {}) => {
Expand Down Expand Up @@ -237,7 +237,7 @@ fn main() -> Result<()> {
.iter()
.map(|a| format!("# CLIFTON MANAGED START\n{}# CLIFTON MANAGED END\n", a))
.collect::<Vec<_>>()
.join("\n"); // TODO Add "magaged" labels
.join("\n");
match command {
Some(SshConfigCommands::Append { ssh_config }) => {
// TODO See if already present and update if so
Expand Down

0 comments on commit a8f426e

Please sign in to comment.