Skip to content

Commit afe83d4

Browse files
committed
Rename bootstrap/defaults/{config.toml.PROFILE => config.PROFILE.toml}
1 parent beb5ae4 commit afe83d4

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

src/bootstrap/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ impl Config {
574574
include_path.push("src");
575575
include_path.push("bootstrap");
576576
include_path.push("defaults");
577-
include_path.push(format!("config.toml.{}", include));
577+
include_path.push(format!("config.{}.toml", include));
578578
let included_toml = get_toml(&include_path);
579579
toml.merge(included_toml);
580580
}

src/bootstrap/setup.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub fn setup(src_path: &Path, include_name: &str) {
2020
file.display()
2121
);
2222
println!(
23-
"note: this will use the configuration in {}/src/bootstrap/defaults/config.toml.{}",
23+
"note: this will use the configuration in {}/src/bootstrap/defaults/config.{}.toml",
2424
src_path.display(),
2525
include_name
2626
);
@@ -36,7 +36,7 @@ pub fn setup(src_path: &Path, include_name: &str) {
3636
t!(fs::write(path, settings));
3737

3838
let include_path =
39-
format!("{}/src/bootstrap/defaults/config.toml.{}", src_path.display(), include_name);
39+
format!("{}/src/bootstrap/defaults/config.{}.toml", src_path.display(), include_name);
4040
println!("`x.py` will now use the configuration at {}", include_path);
4141

4242
let suggestions = match include_name {

0 commit comments

Comments
 (0)