summaryrefslogtreecommitdiff
path: root/support/pkgcheck/src/messages/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'support/pkgcheck/src/messages/mod.rs')
-rw-r--r--support/pkgcheck/src/messages/mod.rs28
1 files changed, 14 insertions, 14 deletions
diff --git a/support/pkgcheck/src/messages/mod.rs b/support/pkgcheck/src/messages/mod.rs
index 65dcbc502a..e3ec350143 100644
--- a/support/pkgcheck/src/messages/mod.rs
+++ b/support/pkgcheck/src/messages/mod.rs
@@ -19,15 +19,15 @@ macro_rules! error_occured {
$crate::ERROR_OCCURED.store(true, Ordering::Relaxed);
};
}
-macro_rules! yellow {
- ($fmt:expr) => {
- if no_colors!() {
- $fmt.clear()
- } else {
- $fmt.bright_yellow()
- }
- };
-}
+// macro_rules! yellow {
+// ($fmt:expr) => {
+// if no_colors!() {
+// $fmt.clear()
+// } else {
+// $fmt.bright_yellow()
+// }
+// };
+// }
// macro_rules! red {
// ($fmt:expr) => {
@@ -44,7 +44,7 @@ macro_rules! msgid {
match (no_colors!(), &$fmt[..1]) {
(true, _) => $fmt.clear(),
(false, "E") => $fmt.bright_red().bold(),
- (false, "I") => $fmt.bright_yellow(),
+ (false, "I") => $fmt.bright_yellow().bold(),
(false, "W") => $fmt.bright_red(),
(false, "F") => $fmt.bright_red().bold(),
(_, _) => $fmt.clear(),
@@ -639,8 +639,8 @@ macro_rules! i0002 {
print!(
"{} {} {}\n",
msgid!("I0002"),
- yellow!("Checking package files in directory"),
- yellow!($fmt)
+ "Checking package files in directory",
+ $fmt
);
};
}
@@ -650,8 +650,8 @@ macro_rules! i0003 {
print!(
"{} {} {}\n",
msgid!("I0003"),
- yellow!("Checking TDS zip archive"),
- yellow!($fmt)
+ "Checking TDS zip archive",
+ $fmt
);
};
}