Skip to content

Conversation

@pierremtb
Copy link
Contributor

Fixes #8994

And clean up some shared helpers along the way.

@vercel
Copy link

vercel bot commented Nov 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
modeling-app Ready Ready Preview Comment Nov 22, 2025 8:40pm

@pierremtb pierremtb marked this pull request as ready for review November 21, 2025 22:06
@pierremtb pierremtb requested a review from a team as a code owner November 21, 2025 22:06
Comment on lines +317 to +321
const nodeToEdit: PathToNode = [
['body', ''],
[3, 'index'],
['expression', 'ExpressionStatement'],
]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the real fix! Of course we didn't want a path to node to the last variable 🤦

We only went into recast territory deep in getNodeFromPath cause it was failing

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix 'should edit a scale call with factor' codemod test

2 participants