refactor(cli): clean up version updating code

This commit adds proper error types when updating the version across
files
This commit is contained in:
Amaan Qureshi 2025-11-12 01:26:10 -05:00 committed by Will Lillis
parent d592b16ac0
commit b095968dff
4 changed files with 195 additions and 173 deletions

View file

@ -1394,7 +1394,7 @@ impl Test {
impl Version {
fn run(self, current_dir: PathBuf) -> Result<()> {
version::Version::new(self.version, current_dir, self.bump).run()
Ok(version::Version::new(self.version, current_dir, self.bump).run()?)
}
}