Skip to content

Commit

Permalink
Create config.toml in the current directory, not the top-level directory
Browse files Browse the repository at this point in the history
See #78509 for discussion.
  • Loading branch information
jyn514 committed Oct 30, 2020
1 parent a3d7a5e commit 8cf7d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub fn setup(src_path: &Path, profile: Profile) {
std::process::exit(1);
}

let path = cfg_file.unwrap_or_else(|| src_path.join("config.toml"));
let path = cfg_file.unwrap_or("config.toml".into());
let settings = format!(
"# Includes one of the default files in src/bootstrap/defaults\n\
profile = \"{}\"\n\
Expand Down

0 comments on commit 8cf7d66

Please sign in to comment.