Agent: Modify clear command history PBA to return pba_data and not None
This commit is contained in:
parent
40b1ae0058
commit
0be6af2d5c
|
@ -19,6 +19,7 @@ class ClearCommandHistory(PBA):
|
||||||
if results:
|
if results:
|
||||||
# `self.command` is empty here
|
# `self.command` is empty here
|
||||||
self.pba_data.append(PostBreachData(self.name, self.command, results))
|
self.pba_data.append(PostBreachData(self.name, self.command, results))
|
||||||
|
|
||||||
return self.pba_data
|
return self.pba_data
|
||||||
|
|
||||||
def clear_command_history_pba_list(self):
|
def clear_command_history_pba_list(self):
|
||||||
|
|
Loading…
Reference in New Issue