Skip to content

listPaths() uses wrong logic for finding whether a package is installed #449

@ghost

Description

if kind != pcDir or not path.startsWith(options.getPkgsDir / name):
checks only if the path startsWith the package name and does not match the complete package name which may lead to getting the path for wrong package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions