Skip to content

TypeError: Cannot read property 'replace' of undefined #97

@grabbou

Description

@grabbou
TypeError: Cannot read property 'replace' of undefined
        at unquoted (node_modules/xcode/lib/pbxFile.js:67:16)
        at detectGroup (node_modules/xcode/lib/pbxFile.js:104:39)
        at new pbxFile (node_modules/xcode/lib/pbxFile.js:173:18)

That used to work. Turns out the reason is that self = this before passing to detectGroup points to a global object.

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