Skip to content

lon: don't abort on update fail#66

Open
es-sai-fi wants to merge 1 commit into
nikstur:mainfrom
es-sai-fi:main
Open

lon: don't abort on update fail#66
es-sai-fi wants to merge 1 commit into
nikstur:mainfrom
es-sai-fi:main

Conversation

@es-sai-fi
Copy link
Copy Markdown

@es-sai-fi es-sai-fi commented May 17, 2026

Should close #62.

I tested this on my end.

Even though the diff is fairly small, I'm still very much a newbie when it comes to Rust, so please review it carefully.

I tried writing an integration test for this, but I quickly found out why there aren't any for the update subcommand already. I'm not sure whether this actually needs a test and, if so, how it should be implemented.

I'm committing a test lock file for now in case anyone wants to test this themselves. I'll remove it later.

Comment thread rust/lon/src/cli.rs
process::ExitCode,
};

use anyhow::{Context, Result, bail};
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appease clippy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't abort the update when an input fails to update

1 participant