Skip to content

Commit a62086f

Browse files
committed
Clippy fix
1 parent c2ff756 commit a62086f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/cli/src/docker_init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ pub async fn handle_docker_init(config_path: PathBuf, output_dir: PathBuf) -> Re
111111
// this is ok since the config has already been loaded once
112112
let filename = spec.file_name().unwrap().to_str().unwrap();
113113
let chain_spec = ServiceChainSpecInfo {
114-
env: get_env_val(CHAIN_SPEC_ENV, &format!("/{}", filename)),
114+
env: get_env_val(CHAIN_SPEC_ENV, &format!("/{filename}")),
115115
volume: Volumes::Simple(format!("{}:/{}:ro", spec.display(), filename)),
116116
};
117117
service_config.chain_spec = Some(chain_spec);

0 commit comments

Comments
 (0)