Skip to content

autoInject regex pattern contains error #1663

@freeart

Description

@freeart

What version of async are you using?
3.0.1

Which environment did the issue occur in (Node version/browser version)
nodejs

What did you do? Please include a minimal reproducable case illustrating issue.
I found an error in autoInject when you use arrow function
https://regex101.com/r/RpedPY/1
regex doesn't work properly with "=>" symbol

What did you expect to happen?

What was the actual result?

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