mirror of https://github.com/tauri-apps/tauri
minor fixes
This commit is contained in:
parent
d775323b2c
commit
74be3e7d05
|
@ -194,14 +194,14 @@ pub fn print_info(message: &str) -> crate::Result<()> {
|
|||
if let Some(mut output) = term::stderr() {
|
||||
safe_term_attr(&mut output, term::Attr::Bold)?;
|
||||
output.fg(term::color::GREEN)?;
|
||||
write!(output, "Info:")?;
|
||||
write!(output, "info:")?;
|
||||
output.reset()?;
|
||||
write!(output, " {}\n", message)?;
|
||||
output.flush()?;
|
||||
Ok(())
|
||||
} else {
|
||||
let mut output = io::stderr();
|
||||
write!(output, "Info:")?;
|
||||
write!(output, "info:")?;
|
||||
write!(output, " {}\n", message)?;
|
||||
output.flush()?;
|
||||
Ok(())
|
||||
|
|
Loading…
Reference in New Issue