From 3698a28e2655ff02645f45d8452dee6240196cbf Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 7 Mar 2022 04:02:04 -0500 Subject: [PATCH] Agent: Add return type annotation to remove_monkey_dir() --- monkey/infection_monkey/utils/monkey_dir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/utils/monkey_dir.py b/monkey/infection_monkey/utils/monkey_dir.py index 14269c7b3..4639ec6bc 100644 --- a/monkey/infection_monkey/utils/monkey_dir.py +++ b/monkey/infection_monkey/utils/monkey_dir.py @@ -18,7 +18,7 @@ def create_monkey_dir() -> Path: return _monkey_dir -def remove_monkey_dir(): +def remove_monkey_dir() -> bool: """ Removes monkey's root directory :return True if removed without errors and False otherwise