From 9915b34986dcd93afb6448937f3a20c4de2321a2 Mon Sep 17 00:00:00 2001 From: Mohas Date: Thu, 9 Nov 2023 15:02:41 +0100 Subject: [PATCH 1/2] Add missing "\n" for DETECTOR_INFO in modifier.py --- slither/detectors/functions/modifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/detectors/functions/modifier.py b/slither/detectors/functions/modifier.py index 61ec1825e2..699d894fef 100644 --- a/slither/detectors/functions/modifier.py +++ b/slither/detectors/functions/modifier.py @@ -89,7 +89,7 @@ def _detect(self) -> List[Output]: info: DETECTOR_INFO = [ "Modifier ", mod, - " does not always execute _; or revert", + " does not always execute _; or revert \n", ] res = self.generate_result(info) From 0f98515503c1526aedec82a3e80f54c4e5c65db2 Mon Sep 17 00:00:00 2001 From: Mohas <120682395+mohasdev@users.noreply.github.com> Date: Thu, 30 Nov 2023 13:08:31 +0100 Subject: [PATCH 2/2] Update slither/detectors/functions/modifier.py Co-authored-by: alpharush <0xalpharush@protonmail.com> --- slither/detectors/functions/modifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/detectors/functions/modifier.py b/slither/detectors/functions/modifier.py index 699d894fef..7f14872663 100644 --- a/slither/detectors/functions/modifier.py +++ b/slither/detectors/functions/modifier.py @@ -89,7 +89,7 @@ def _detect(self) -> List[Output]: info: DETECTOR_INFO = [ "Modifier ", mod, - " does not always execute _; or revert \n", + " does not always execute _; or revert\n", ] res = self.generate_result(info)