Skip to content

fix : guard against missing security directory in search_projects scan_projects #1861

Description

@tmdeveloper007

Summary of What Needs to be Done

In , the function hardcodes the category in the list . However, this directory may not exist in all deployments. The function already uses to guard against non-existent directories, but this is good defensive programming and the pattern should be confirmed consistent.

Changes that Need to be Made

Review and ensure the function properly skips non-existent category directories, and verify the directory exists or handle its absence gracefully. If the directory is not needed, remove it from the categories list to avoid unnecessary filesystem checks.

Impact that it would Provide

  • Prevents potential errors when the security directory is absent.
  • Reduces unnecessary filesystem operations.

Note: Please assign this issue to the tmdeveloper007 account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions