Skip to content

Crashes horribly when function names are invalid identifiers #20

Description

@LinusU

See mciparelli/co-redis#16

Small test case to reproduce:

const thenify = require('thenify')

function testMe () {}

Object.defineProperty(testMe, 'name', { value: 'test-me' })

thenify(testMe)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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