1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-07 13:52:25 +01:00

Merge remote-tracking branch 'upstream/master' into lean

This commit is contained in:
Y.D.X.
2025-07-11 13:03:06 +08:00
14 changed files with 287 additions and 79 deletions

View File

@@ -67,7 +67,13 @@ pub fn default_error_handler(error: &Error, output: &mut dyn Write) {
.ok();
}
_ => {
writeln!(output, "{}: {}", Red.paint("[bat error]"), error).ok();
writeln!(
&mut std::io::stderr().lock(),
"{}: {}",
Red.paint("[bat error]"),
error
)
.ok();
}
};
}

View File

@@ -0,0 +1,3 @@
# See https://eff-certbot.readthedocs.io/en/stable/using.html#configuration-file
[mappings]
"INI" = ["/etc/letsencrypt/renewal/*.conf"]