Skip to content

childrenIgnored wrong return? #552

@pilaoda

Description

@pilaoda

node-glob/src/ignore.ts

Lines 109 to 111 in ed22c06

for (const m of this.absoluteChildren) {
if (m.match(fullpath)) true
}

Maybe I misunderstanding the purpose here, shouldn't this block return true rather single true?

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