blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Migration script includes 'Blockly' -> 'Blockly' rename, causing the script to exit early

Open BeksOmega opened this issue 1 year ago • 0 comments

Check for duplicates

  • [X] I have searched for similar issues before opening a new one.

Component

@blockly/migration

Description

Something is causing the migration script to include a rename of Blockly -> Blockly. This causes any renames after that rename to be skipped, because the loop exits early here. So some of the renamings in the database aren't getting run.

Reproduction steps

  1. Include Blockly.Bubble in the manual test file.
  2. Run the migration script locally (as documented in the manual test file)
  3. Observe how Blockly.Bubble doesn't get renamed to Blockly.bubbles.Bubble even though it exists in the database.

Stack trace

No response

Screenshots

No response

BeksOmega avatar Jan 26 '24 17:01 BeksOmega