Skip to content

glob is not be used #95

@ottijp

Description

@ottijp

I doubt that glob package is imported by but not be used.

At cli.enable function In cli.js, glob is required as cli.glob but not used after that.

        case 'glob':
            cli.glob = require('glob');
            break;

In this example, wild card expansion is done by the shell. So the argument like "*.js" will not be expanded to file names.

$ node examples/glob.js *.js
[ 'cli.js', 'index.js' ]
$ node examples/glob.js "*.js"
[ '*.js' ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions