Skip to content

Commit b957d98

Browse files
committed
Fix checkpoint editing logic to correctly exit when the user cancels the description input
1 parent d723f7a commit b957d98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/vscode/src/commands/checkpoints-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ const edit_checkpoint = async (params: {
613613
placeHolder: 'e.g. Before refactoring the main component'
614614
})
615615

616-
if (!new_description === undefined) return
616+
if (new_description === undefined) return
617617

618618
const checkpoints =
619619
params.context.workspaceState.get<Checkpoint[]>(

0 commit comments

Comments
 (0)