summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2025-11-22 20:41:22 +0800
committer魏曹先生 <1992414357@qq.com>2025-11-22 20:41:22 +0800
commit7568aa1ea1ca6c9c6862d46d9dbec1134d7fc44b (patch)
tree954b866cb8b93596197d177d08f6ac18216e02e0 /src/bin
parente579a2e9ffc1e24d30cd117966079c4a6a805fbf (diff)
Remove todo list file after update operation
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/jv.rs4
1 files changed, 4 insertions, 0 deletions
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()