Skip to content

Commit b2c6df2

Browse files
committed
address comment
1 parent 9795c42 commit b2c6df2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/sim/lib/workflows/sanitization/subblocks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function sanitizeMalformedSubBlocks(
9797
: null
9898

9999
const repairedMetadata = id !== subBlock.id || type !== subBlock.type
100-
const normalizedValue = value !== subBlock.value
100+
const normalizedValue = hasValue && value !== subBlock.value
101101

102102
if (repairedMetadata) {
103103
logger.warn('Repairing malformed subBlock metadata', { blockId: block.id, subBlockId })

0 commit comments

Comments
 (0)