Skip to content

How to find a folder that are not inside folder #335

@wclr

Description

@wclr

The task is to find all node_modules in the project tree, that are not inside other node_modules.

I tried unsuccessfully something like:

  • ('**/node_modules/', {ignore: '**/node_modules/**/node_modules/'})

  • ('**/node_modules/', {ignore: '**/node_modules/**'})

Any advice on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions