Skip to content

Commit

Permalink
fix: cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberb committed Jul 10, 2023
1 parent f567696 commit 54fbae0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/topos/src/components/node/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ pub(crate) async fn handle_command(
Ok(())
}
Some(NodeCommands::Up(cmd)) => {
let name = cmd.name.as_ref().expect("No name or default was given for node");
let name = cmd
.name
.as_ref()
.expect("No name or default was given for node");
let node_path = home.join("node").join(&name);
let config_path = node_path.join("config.toml");

Expand Down

0 comments on commit 54fbae0

Please sign in to comment.