From 43f1d84a8d02014709e556bb58a9cef67bc298c0 Mon Sep 17 00:00:00 2001
From: penenadpi <penenadpi@gmail.com>
Date: Thu, 1 Sep 2022 16:10:03 -0400
Subject: [PATCH] Added TODO for utilities

---
 src/iac_scan_runner/utils.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/iac_scan_runner/utils.py b/src/iac_scan_runner/utils.py
index 5ca8727..621513f 100644
--- a/src/iac_scan_runner/utils.py
+++ b/src/iac_scan_runner/utils.py
@@ -109,6 +109,7 @@ def file_to_string(file_path: str) -> str:
     try:
         with open(file_path, "r") as text_file:
             output = str(text_file.read())
+    # TODO: Narrow exceptions for this one and similar functions        
     except Exception as e:
         raise Exception(f"Error while reading file: {str(e)}.")           
     return output        
-- 
GitLab