From af3aed32e1eb367cf81e7434ddc17bc36ea32b1f Mon Sep 17 00:00:00 2001 From: David Liu Date: Tue, 31 Dec 2024 20:22:30 +0800 Subject: [PATCH] resolve #73 --- src/secret_scanning.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/secret_scanning.py b/src/secret_scanning.py index 2c91432..496c124 100644 --- a/src/secret_scanning.py +++ b/src/secret_scanning.py @@ -33,9 +33,6 @@ def write_repo_ss_list(secrets_list): Outputs: - CSV file of secret scanning alerts """ - if len(secrets_list) == 0: - print("No secret scanning alerts found") - return # Write secret scanning alerts to csv file with open("secrets_list.csv", "w") as f: writer = csv.writer(f) @@ -100,9 +97,6 @@ def write_org_ss_list(secrets_list): Outputs: - CSV file of secret scanning alerts """ - if len(secrets_list) == 0: - print("No secret scanning alerts found") - return # Write secret scanning alerts to csv file with open("secrets_list.csv", "w") as f: writer = csv.writer(f) @@ -182,9 +176,6 @@ def write_enterprise_ss_list(secrets_list): Outputs: - CSV file of secret scanning alerts """ - if len(secrets_list) == 0: - print("No secret scanning alerts found") - return # Write secret scanning alerts to csv file with open("secrets_list.csv", "w") as f: writer = csv.writer(f)