fixed a bug where the number of targets was being output before they
were counted for the rustbuster command.
This commit is contained in:
+4
-4
@@ -1209,10 +1209,6 @@ impl AppState {
|
||||
});
|
||||
let mut num_dir = 0;
|
||||
let mut num_sub = 0;
|
||||
let _ = self.main_tx.send(ToolMessage::Output((
|
||||
rid,
|
||||
format!("{} targets found scanning...", num_dir + num_sub),
|
||||
)));
|
||||
let tx_clone = self.main_tx.clone();
|
||||
let out_path = self.projects[self.selected_project].files.clone();
|
||||
let project_clone =
|
||||
@@ -1233,6 +1229,10 @@ impl AppState {
|
||||
}
|
||||
}
|
||||
}
|
||||
let _ = self.main_tx.send(ToolMessage::Output((
|
||||
rid,
|
||||
format!("{} targets found scanning...", num_dir + num_sub),
|
||||
)));
|
||||
let new_progress = Arc::new(RwLock::new(ToolProgress {
|
||||
name: "rustbuster".to_string(),
|
||||
total: num_dir + num_sub,
|
||||
|
||||
Reference in New Issue
Block a user