Skip to content

Config file read twice if $CWD is same as config dir, e.g. $HOME #93

@kzantow

Description

@kzantow

If a user runs from the $HOME directory (or any of the configuration directories), where a config file exists, the $CWD/<config> is found, in addition to the <config-file-location>/<config>. E.g. $HOME/.syft.yaml exists, and syft is run from $HOME, the same file is read twice.

See: anchore/syft#4322

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions