fixed promotion function to use the project name

folder as well!
This commit is contained in:
pyro57000
2025-03-12 09:49:15 -05:00
parent 16706f8f6d
commit f7bdd0ad8a

View File

@@ -364,7 +364,9 @@ pub fn promote_project(projects: &mut Vec<Project>, config_path: &PathBuf, proje
let mut new_files_dir = project_dir.clone();
let mut new_notes_dir = notes_dir.clone();
new_files_dir.push(&promoted_project.customer);
new_files_dir.push(&promoted_project.project_name);
new_notes_dir.push(&promoted_project.customer);
new_notes_dir.push(&promoted_project.project_name);
let folder_move_success = process::Command::new("mv")
.arg("-i")
.arg(&project.files_folder)