From 7568aa1ea1ca6c9c6862d46d9dbec1134d7fc44b Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 22 Nov 2025 20:41:22 +0800 Subject: Remove todo list file after update operation --- src/bin/jv.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/bin') diff --git a/src/bin/jv.rs b/src/bin/jv.rs index 22edf95..302a185 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -1011,6 +1011,10 @@ async fn main() { .await; jv_update(UpdateArgs { help: false }).await; + + if let Some(local_dir) = current_local_path() { + let _ = fs::remove_file(local_dir.join(CLIENT_FILE_TODOLIST)).await; + }; } JustEnoughVcsWorkspaceCommand::HistoryIpAddress => { get_recent_ip_address() -- cgit