This commit is contained in:
Kurt Hutten IrevDev
2022-11-28 19:44:08 +11:00
parent b671db1e81
commit 80f513401c
6 changed files with 30 additions and 12 deletions

View File

@ -912,7 +912,10 @@ export function addLine(
): { modifiedAst: Program; id: string } {
const _node = { ...node }
const dumbyStartend = { start: 0, end: 0 }
const { index, sketchDeclaration, sketchExpression } = getSketchStatement(_node, id)
const { index, sketchDeclaration, sketchExpression } = getSketchStatement(
_node,
id
)
const line: ExpressionStatement = {
type: 'ExpressionStatement',
...dumbyStartend,