Skip to content

Commit d076fa7

Browse files
committed
CM-53944-Fixed comment
1 parent 84b936f commit d076fa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cycode/cli/files_collector/file_excluder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def _is_relevant_file_to_scan_common(self, scan_type: str, filename: str) -> boo
100100
)
101101
return False
102102

103-
# We don't want to check for IAC scans, the extensions is handled internally
104103
if self._should_check_if_extensions_are_supported(scan_type, filename):
105104
logger.debug(
106105
'The document is irrelevant because its extension is not supported, %s',
@@ -110,6 +109,7 @@ def _is_relevant_file_to_scan_common(self, scan_type: str, filename: str) -> boo
110109

111110
return True
112111

112+
# We don't want to check for IAC scans, the extensions is handled internally
113113
def _should_check_if_extensions_are_supported(self, scan_type: str, filename: str):
114114
return scan_type != consts.IAC_SCAN_TYPE and not self._is_file_extension_supported(scan_type, filename)
115115
def _is_relevant_file_to_scan(self, scan_type: str, filename: str) -> bool:

0 commit comments

Comments
 (0)