diff --git a/README.md b/README.md index 0511afd..7e60783 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/server-default.toml b/crates/server/server-default.toml similarity index 100% rename from server-default.toml rename to crates/server/server-default.toml diff --git a/crates/server/src/lib.rs b/crates/server/src/lib.rs index 3dee926..67fae80 100644 --- a/crates/server/src/lib.rs +++ b/crates/server/src/lib.rs @@ -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)