Skip to content

Commit

Permalink
Add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
quambene committed Nov 25, 2024
1 parent d0ab3b8 commit 84601c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async fn main() -> Result<(), anyhow::Error> {
tokio::select! {
_ = signal::ctrl_c() => {
// Clean up lock file when aborting.
// TODO: finish writing to `bookmarks.json`
if target_bookmark_lock_file.exists() {
if let Err(err) = fs::remove_file(target_bookmark_lock_file) {
eprintln!("Can't remove lock file: {err:?}")
Expand Down

0 comments on commit 84601c5

Please sign in to comment.