Skip to content

Promisify doesnt work with arrow functions #18

@awolden

Description

@awolden

There appears to be an issue with the args parser here: https://github.com/nodegit/promisify-node/blob/master/utils/args.js#L9

That regex only recognizes standard function calls. When called with an anonymous function (foo)=>{console.log(foo)}.

If this library is still being maintained, I would be happy to 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