mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 19:47:01 +05:30
fix: consistently use inline format args
This commit is contained in:
parent
aa158d7d56
commit
d414d84b5e
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ pub fn thaw_repos(dir: &str, lockfile: &str) -> anyhow::Result<()> {
|
||||||
.context("Failed to run `git clone`. Perhaps git is not installed?")?;
|
.context("Failed to run `git clone`. Perhaps git is not installed?")?;
|
||||||
|
|
||||||
if output.status.success() {
|
if output.status.success() {
|
||||||
tracing::info!("Thawed {} successfully.", name);
|
tracing::info!("Thawed {name} successfully.");
|
||||||
} else {
|
} else {
|
||||||
tracing::error!("{}", std::str::from_utf8(&output.stderr)?);
|
tracing::error!("{}", std::str::from_utf8(&output.stderr)?);
|
||||||
}
|
}
|
||||||
|
@ -123,7 +123,7 @@ pub fn thaw(dir: &str, lockfile: &str) -> anyhow::Result<()> {
|
||||||
.context("Failed to run `git clone`. Perhaps git is not installed?")?;
|
.context("Failed to run `git clone`. Perhaps git is not installed?")?;
|
||||||
|
|
||||||
if output.status.success() {
|
if output.status.success() {
|
||||||
tracing::info!("Thawed {} successfully.", name);
|
tracing::info!("Thawed {name} successfully.");
|
||||||
} else {
|
} else {
|
||||||
tracing::error!("{}", std::str::from_utf8(&output.stderr)?);
|
tracing::error!("{}", std::str::from_utf8(&output.stderr)?);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue