aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/advisory
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/advisory')
-rw-r--r--crates/shirabe/src/advisory/auditor.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/shirabe/src/advisory/auditor.rs b/crates/shirabe/src/advisory/auditor.rs
index 411e83e..ca49591 100644
--- a/crates/shirabe/src/advisory/auditor.rs
+++ b/crates/shirabe/src/advisory/auditor.rs
@@ -537,12 +537,12 @@ impl Auditor {
) -> Result<()> {
io.write_error(&format!(
"<error>Found {} abandoned package{}:</error>",
- PhpMixed::Int(packages.len() as i64),
- PhpMixed::String(if packages.len() > 1 {
+ packages.len() as i64,
+ if packages.len() > 1 {
"s".to_string()
} else {
String::new()
- }),
+ },
));
if format == Self::FORMAT_PLAIN {
@@ -554,8 +554,8 @@ impl Auditor {
};
io.write_error(&format!(
"{} is abandoned. {}.",
- PhpMixed::String(self.get_package_name_with_link(pkg.clone().into())),
- PhpMixed::String(replacement),
+ self.get_package_name_with_link(pkg.clone().into()),
+ replacement,
));
}