Skip to content

Rename happens in wrong location when build has failed #417

Open
@Kingdutch

Description

@Kingdutch

It looks like the rename happens based on the last known location for a token. This means that if you create a syntax error in your script and try to rename something, the location of the tokens may be outdated and the new name is inserted in the wrong position.

Video is attached that shows this happening. The syntax error in this case is an unbalanced piece of JSX.

Screen.Recording.2022-05-12.at.11.43.31.mov

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