Skip to content

Commit

Permalink
rename config.example.toml to bootstrap.example.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
default committed Jul 25, 2024
1 parent 6ce0932 commit 151cae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ path = [
"Cargo.lock",
"Cargo.toml",
"CODE_OF_CONDUCT.md",
"config.example.toml",
"bootstrap.example.toml",
"configure",
"CONTRIBUTING.md",
"COPYRIGHT",
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/core/config/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ impl Config {
let mut toml_path = toml_path.unwrap_or_else(|| PathBuf::from("bootstrap.toml"));
if using_default_path && !toml_path.exists() {
toml_path = PathBuf::from("config.toml");
if using_default_path && !toml_path.exists() {
if !toml_path.exists() {
toml_path = config.src.join(PathBuf::from("bootstrap.toml"));
if !toml_path.exists() {
toml_path = config.src.join(PathBuf::from("config.toml"));
Expand Down

0 comments on commit 151cae0

Please sign in to comment.