Skip to content

Setting onlyDirectories to true results in a returned value with an additional trailing slash. #185

Description

@btea
const list = await glob('*', { onlyDirectories: true, cwd: process.cwd() + '/src' });

// Using fast-glob and tinyglobby yields the following different results:
['a', 'b', 'c'] // fast-glob
['a/', 'b/', 'c/'] // tinyglobby

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions