We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ebcf144 + 8cf7d66 commit 61eb1a8Copy full SHA for 61eb1a8
src/bootstrap/setup.rs
@@ -89,7 +89,7 @@ pub fn setup(src_path: &Path, profile: Profile) {
89
std::process::exit(1);
90
}
91
92
- let path = cfg_file.unwrap_or_else(|| src_path.join("config.toml"));
+ let path = cfg_file.unwrap_or("config.toml".into());
93
let settings = format!(
94
"# Includes one of the default files in src/bootstrap/defaults\n\
95
profile = \"{}\"\n\
0 commit comments