refactor(cli): clean up version updating code
This commit adds proper error types when updating the version across files
This commit is contained in:
parent
d592b16ac0
commit
b095968dff
4 changed files with 195 additions and 173 deletions
|
|
@ -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()?)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue