You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Implement --detection-depth flag in iac module
Currently we look for IaC files within all subdirectories. This commit
refactors the detection code to use direct directory traversal function
that takes a `maxDepth` argument which will bail early once the max
depth has been reached.
This removes the dependency on the glob module, brings the file lookup
inline with how we do the lookup for manifest files and offers a slight
performance gain over glob.
To maintain backwards compatibility with the existing functionality
this implementation will traverse all directories by default and ignore
dotfiles (files starting with a period).
0 commit comments