Skip to content

analysis_options exclusions are applied incorrectly when detecting projects #5286

Closed

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)));

Activity

  1. added
    in viewsRelates to custom views, like the Test tree or Dependencies tree
    on Sep 24, 2024
  2. added this to the v3.98.0 milestone on Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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