Agent: Modify clear command history PBA to return pba_data and not None
This commit is contained in:
parent
40b1ae0058
commit
0be6af2d5c
|
@ -19,7 +19,8 @@ class ClearCommandHistory(PBA):
|
|||
if results:
|
||||
# `self.command` is empty here
|
||||
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):
|
||||
return self.CommandHistoryPBAGenerator().get_clear_command_history_pbas()
|
||||
|
|
Loading…
Reference in New Issue