mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Fix formatting nitpick
This commit is contained in:
parent
3706d9f8c6
commit
a9e3676d31
1 changed files with 6 additions and 6 deletions
|
@ -208,8 +208,8 @@ fn console_log(_: &Lua, args: MultiValue) -> Result<()> {
|
||||||
|
|
||||||
fn console_info(_: &Lua, args: MultiValue) -> Result<()> {
|
fn console_info(_: &Lua, args: MultiValue) -> Result<()> {
|
||||||
print!(
|
print!(
|
||||||
"{}{}[INFO]{}{} ",
|
"{}[{}INFO{}{}]{} ",
|
||||||
STYLE_BOLD, COLOR_CYAN, COLOR_RESET, STYLE_RESET
|
STYLE_BOLD, COLOR_CYAN, COLOR_RESET, STYLE_BOLD, STYLE_RESET
|
||||||
);
|
);
|
||||||
let s = pretty_format_multi_value(&args)?;
|
let s = pretty_format_multi_value(&args)?;
|
||||||
println!("{}", s);
|
println!("{}", s);
|
||||||
|
@ -219,8 +219,8 @@ fn console_info(_: &Lua, args: MultiValue) -> Result<()> {
|
||||||
|
|
||||||
fn console_warn(_: &Lua, args: MultiValue) -> Result<()> {
|
fn console_warn(_: &Lua, args: MultiValue) -> Result<()> {
|
||||||
print!(
|
print!(
|
||||||
"{}{}[WARN]{}{} ",
|
"{}[{}WARN{}{}]{} ",
|
||||||
STYLE_BOLD, COLOR_YELLOW, COLOR_RESET, STYLE_RESET
|
STYLE_BOLD, COLOR_YELLOW, COLOR_RESET, STYLE_BOLD, STYLE_RESET
|
||||||
);
|
);
|
||||||
let s = pretty_format_multi_value(&args)?;
|
let s = pretty_format_multi_value(&args)?;
|
||||||
println!("{}", s);
|
println!("{}", s);
|
||||||
|
@ -230,8 +230,8 @@ fn console_warn(_: &Lua, args: MultiValue) -> Result<()> {
|
||||||
|
|
||||||
fn console_error(_: &Lua, args: MultiValue) -> Result<()> {
|
fn console_error(_: &Lua, args: MultiValue) -> Result<()> {
|
||||||
eprint!(
|
eprint!(
|
||||||
"{}{}[ERROR]{}{} ",
|
"{}[{}ERROR{}{}]{} ",
|
||||||
STYLE_BOLD, COLOR_RED, COLOR_RESET, STYLE_RESET
|
STYLE_BOLD, COLOR_RED, COLOR_RESET, STYLE_BOLD, STYLE_RESET
|
||||||
);
|
);
|
||||||
let s = pretty_format_multi_value(&args)?;
|
let s = pretty_format_multi_value(&args)?;
|
||||||
eprintln!("{}", s);
|
eprintln!("{}", s);
|
||||||
|
|
Loading…
Reference in a new issue