Skip to content

Commit

Permalink
Remove dashes from comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Gukov committed Jan 31, 2025
1 parent b68fba5 commit 3843e22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/serverless/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_scannable_file_paths(root_folder: str | None = None, excluded_paths: lis
return files_list

for root, d_names, f_names in os.walk(root_folder):
# Don't walk in to "node_modules" directories under the root folder. If for some reason
# Don't walk in to "node_modules" directories under the root folder. If for some reason
# scanning one of these is desired, it can be directly specified.
if "node_modules" in d_names:
d_names.remove("node_modules")
Expand Down

0 comments on commit 3843e22

Please sign in to comment.