Skip to content

analysis_options exclusions are applied incorrectly when detecting projects #5286

@DanTup

Description

@DanTup

When opening pkg:build, I only see a subset of packages in the Dependencies tree:

image

It turns out, all the ones starting with build (besides the root folder itself) are missing. The cause is the analysis_options exclusions:

  exclude:
    - "build/**"

This is excluding a folder named build, but we're losing the slash and doing a startsWith:

projectFolders = projectFolders.filter((p) => !excludedFolders.find((f) => p.startsWith(f)));

Metadata

Metadata

Assignees

No one assigned

    Labels

    in viewsRelates to custom views, like the Test tree or Dependencies treeis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions