Skip to content

Relative path does not match #31

@LeiZeng

Description

@LeiZeng

I found it's not working when I match relative path:

globule.isMatch('./test/*', 'test/myFile.js')
// reture false

I have to write like this:

globule.isMatch('test/*', 'test/myFile.js')

Any idea if we can fix 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