Skip to content

Commit 151cae0

Browse files
author
default
committed
rename config.example.toml to bootstrap.example.toml
1 parent 6ce0932 commit 151cae0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REUSE.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ path = [
2222
"Cargo.lock",
2323
"Cargo.toml",
2424
"CODE_OF_CONDUCT.md",
25-
"config.example.toml",
25+
"bootstrap.example.toml",
2626
"configure",
2727
"CONTRIBUTING.md",
2828
"COPYRIGHT",

src/bootstrap/src/core/config/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ impl Config {
13151315
let mut toml_path = toml_path.unwrap_or_else(|| PathBuf::from("bootstrap.toml"));
13161316
if using_default_path && !toml_path.exists() {
13171317
toml_path = PathBuf::from("config.toml");
1318-
if using_default_path && !toml_path.exists() {
1318+
if !toml_path.exists() {
13191319
toml_path = config.src.join(PathBuf::from("bootstrap.toml"));
13201320
if !toml_path.exists() {
13211321
toml_path = config.src.join(PathBuf::from("config.toml"));

0 commit comments

Comments
 (0)