Skip to content

Commit

Permalink
Add guard back, fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pierremtb committed Feb 15, 2025
1 parent 6c14b2b commit 401b869
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/lang/modifyAst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ import {
import { BodyItem } from 'wasm-lib/kcl/bindings/BodyItem'
import { findKwArg } from './util'
import { deleteEdgeTreatment } from './modifyAst/addEdgeTreatment'
import { engineCommandManager } from 'lib/singletons'

export function startSketchOnDefault(
node: Node<Program>,
Expand Down
2 changes: 1 addition & 1 deletion src/machines/modelingMachine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ export const modelingMachine = setup({

'Delete selection': {
target: 'Applying Delete selection',
// guard: 'has valid selection for deletion',
guard: 'has valid selection for deletion',
reenter: true,
},

Expand Down

0 comments on commit 401b869

Please sign in to comment.