Skip to content

Purpose of safe_local_report_path? #377

@kiwiz

Description

@kiwiz

Relevant XKCD:

Hi there, I'm curious about what the path.include?("/.") check in safe_local_report_path is for. The reason I ask is because I'm currently populating the output into a JSON file located at REPO_PATH/.salus/salus.json, which triggers this condition.

Could the pattern be updated to "/..", which is less likely to be valid (I can submit a PR if so)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions