mirror of
https://github.com/hannobraun/Fornjot
synced 2025-01-31 04:15:54 +00:00
chore: cargo fmt
This commit is contained in:
parent
a449b1c529
commit
48393314dd
@ -77,7 +77,8 @@ impl Crate {
|
|||||||
.context("search crates.io for published crate version")?;
|
.context("search crates.io for published crate version")?;
|
||||||
log::debug!("{self} found as {version} on their side");
|
log::debug!("{self} found as {version} on their side");
|
||||||
|
|
||||||
semver::Version::from_str(&version).context("parse their version")?
|
semver::Version::from_str(&version)
|
||||||
|
.context("parse their version")?
|
||||||
};
|
};
|
||||||
|
|
||||||
let ours = {
|
let ours = {
|
||||||
@ -111,7 +112,7 @@ impl Crate {
|
|||||||
|
|
||||||
if ours < theirs {
|
if ours < theirs {
|
||||||
log::warn!("{self} has already been published as {ours}, which is a newer version");
|
log::warn!("{self} has already been published as {ours}, which is a newer version");
|
||||||
return Ok(CrateState::Behind)
|
return Ok(CrateState::Behind);
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(CrateState::Ahead)
|
Ok(CrateState::Ahead)
|
||||||
|
Loading…
Reference in New Issue
Block a user