8000 Reexport `glob.globbySync` as `glob.sync` · Issue #1129 · google/zx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Reexport glob.globbySync as glob.sync #1129
Closed
< 6DED /svg>Closed
@bytemain

Description

@bytemain

If I want to use globby sync method, the code like this:

import { glob } from 'zx';
const result = glob.globbySync(['**/*.dll']);

This doesn't look very elegant. I think the below one is more elegant:

import { glob } from 'zx';
const result = glob.sync(['**/*.dll']);

If possible, I can submit a pr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0