solve threads...

This commit is contained in:
itiB
2020-10-31 20:25:22 +09:00
parent 352ad7bb09
commit 96e379cc52
4 changed files with 19 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ impl PowerShell {
}
let message = MESSAGES.lock().unwrap();
println!("{}", message.return_message("4103"));
println!("{}", message.get("4103"));
let default = String::from("");
let commandline = event_data.get("ContextInfo").unwrap_or(&default);
@@ -53,7 +53,7 @@ impl PowerShell {
return;
}
let message = MESSAGES.lock().unwrap();
println!("{}", message.return_message("4104"));
println!("{}", message.get("4104"));
let default = String::from("");
let path = event_data.get("Path").unwrap().to_string();