diff options
| author | 魏曹先生 <1992414357@qq.com> | 2025-11-22 20:41:22 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2025-11-22 20:41:22 +0800 |
| commit | 7568aa1ea1ca6c9c6862d46d9dbec1134d7fc44b (patch) | |
| tree | 954b866cb8b93596197d177d08f6ac18216e02e0 | |
| parent | e579a2e9ffc1e24d30cd117966079c4a6a805fbf (diff) | |
Remove todo list file after update operation
| -rw-r--r-- | src/bin/jv.rs | 4 |
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() |
