Enable optional arguments in point-and-click Sweep (#7580)
* Enable optional arguments in point-and-click Sweep Fixes #7578 * Fix bug and add e2e test step * Fix review not triggering bug and e2e test
This commit is contained in:
@ -2482,14 +2482,10 @@ export const modelingMachine = setup({
|
||||
return Promise.reject(new Error(NO_INPUT_PROVIDED_MESSAGE))
|
||||
}
|
||||
|
||||
const { nodeToEdit, sketches, path, sectional } = input
|
||||
const { ast } = kclManager
|
||||
const astResult = addSweep({
|
||||
...input,
|
||||
ast,
|
||||
sketches,
|
||||
path,
|
||||
sectional,
|
||||
nodeToEdit,
|
||||
})
|
||||
if (err(astResult)) {
|
||||
return Promise.reject(astResult)
|
||||
|
Reference in New Issue
Block a user