fix: consistently use inline format args

This commit is contained in:
Harsh Shandilya 2023-06-10 22:27:23 +05:30 committed by GitHub
parent aa158d7d56
commit d414d84b5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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?")?;
if output.status.success() {
tracing::info!("Thawed {} successfully.", name);
tracing::info!("Thawed {name} successfully.");
} else {
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?")?;
if output.status.success() {
tracing::info!("Thawed {} successfully.", name);
tracing::info!("Thawed {name} successfully.");
} else {
tracing::error!("{}", std::str::from_utf8(&output.stderr)?);
}