fmt
This commit is contained in:
@@ -31,6 +31,7 @@ impl VntCallback for VntHandler {
|
||||
}
|
||||
|
||||
fn error(&self, info: ErrorInfo) {
|
||||
log::error!("error {:?}", info);
|
||||
println!("{}", style(format!("error {}", info)).red());
|
||||
match info.code {
|
||||
ErrorType::TokenError
|
||||
|
||||
+1
-1
@@ -15,8 +15,8 @@ use vnt::core::{Config, Vnt};
|
||||
mod command;
|
||||
mod config;
|
||||
mod console_out;
|
||||
mod root_check;
|
||||
mod generated_serial_number;
|
||||
mod root_check;
|
||||
|
||||
pub fn app_home() -> io::Result<PathBuf> {
|
||||
let root_path = match std::env::current_exe() {
|
||||
|
||||
Reference in New Issue
Block a user