diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bin/jv.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/jv.rs b/src/bin/jv.rs index 911b1ff..0dd87c6 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -31,7 +31,7 @@ use just_enough_vcs::{ CLIENT_FILE_TODOLIST, CLIENT_FILE_WORKSPACE, CLIENT_FOLDER_WORKSPACE_ROOT_NAME, CLIENT_PATH_WORKSPACE_ROOT, PORT, REF_SHEET_NAME, }, - current::{current_doc_dir, current_local_path}, + current::{correct_current_dir, current_doc_dir, current_local_path}, data::{ local::{ LocalWorkspace, @@ -2478,6 +2478,8 @@ async fn jv_hold(args: HoldFileArgs) { return; }; + let _ = correct_current_dir(); + jv_change_edit_right( hold_files, EditRightChangeBehaviour::Hold, @@ -2498,6 +2500,8 @@ async fn jv_throw(args: ThrowFileArgs) { return; }; + let _ = correct_current_dir(); + jv_change_edit_right( throw_files, EditRightChangeBehaviour::Throw, |
