Skip to content

jsdocs: async arrow function causes error #99

@sevenc-nanashi

Description

@sevenc-nanashi

Environment

Node: v22
automd: v0.3.12

Reproduction

const hoge = async () => {
  await something()
}

Describe the bug

It fails:

SyntaxError: Unexpected reserved word

Additional context

No response

Logs

[6:14:24] ✔ Automd updated (667.54ms)

[6:14:24]   ─    t.md with issues (205.35ms)

[6:14:24]  WARN  Some issues happened during automd update:

[6:14:24] t.md 

 SyntaxError: Unexpected reserved word
[6:14:24] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions