Skip to content

Shuffled lines in uploaded lua code #3

Description

@cmatei

I am using the http://chilipeppr.com/esp32 workspace. Uploading the code in the 'intended' attached image, then clicking 'Capture the contents of the file and open it in the LUA editor' produces the 'result'. It seems the upload shuffles the lines in the file.

It seems the reshuffle is particularly sensitive to "node.restart()", other code seems to go in fine. The only occurence of node.restart() in the workspace code seems to be as an event handler for the reset button, I can't spot any other magic related to it.

After spending quite a few hours trying to figure out why the device resets continuosly, this is amusing :))

Intended:

intended

Result:

result

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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