Skip to content

Slashes don't work inside logic operators #278

@ntrrgc

Description

@ntrrgc

For instance, querying the following

glob.sync("!(a/b)", {})

will throw this error:

node_modules/glob/sync.js:147
  var dotOk = this.dot || rawGlob.charAt(0) === '.'
                                 ^

TypeError: Cannot read property 'charAt' of undefined

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