fix: move server-default.toml inside crate that uses it
This commit is contained in:
parent
41c8a319b1
commit
639e561be6
3 changed files with 2 additions and 2 deletions
|
@ -302,7 +302,7 @@ your repo:
|
|||
git next init
|
||||
```
|
||||
|
||||
This will create a `.git-next.toml` file. [Default](./default.toml)
|
||||
This will create a `.git-next.toml` file. [Default](./crates/cli/default.toml)
|
||||
|
||||
By default the expected branches are `main`, `next` and `dev`. Each of these
|
||||
three branches _must_ exist in your repo.
|
||||
|
|
|
@ -21,7 +21,7 @@ pub fn init(fs: FileSystem) {
|
|||
file_name
|
||||
);
|
||||
} else {
|
||||
match fs.file_write(&pathbuf, include_str!("../../../server-default.toml")) {
|
||||
match fs.file_write(&pathbuf, include_str!("../server-default.toml")) {
|
||||
Ok(_) => println!("Created a default configuration file at {}", file_name),
|
||||
Err(e) => {
|
||||
eprintln!("Failed to write to the configuration file: {}", e)
|
||||
|
|
Loading…
Reference in a new issue