@@ -233,7 +233,7 @@ export class LintGpt extends ExternalRuleBase {
233
233
const eval_data = {
234
234
rule_checksum,
235
235
location_context : operation . locationContext ,
236
- node : stableStringify ( operation . value ) ,
236
+ node : stableStringify ( operation . value ?? '' ) ,
237
237
node_before : stableStringify ( operation . before ?? '' ) ,
238
238
} ;
239
239
const node_checksum = computeNodeChecksum ( eval_data ) ;
@@ -249,7 +249,7 @@ export class LintGpt extends ExternalRuleBase {
249
249
const eval_data = {
250
250
rule_checksum,
251
251
location_context : response . locationContext ,
252
- node : stableStringify ( response . value ) ,
252
+ node : stableStringify ( response . value ?? '' ) ,
253
253
node_before : stableStringify ( response . before ?? '' ) ,
254
254
} ;
255
255
const node_checksum = computeNodeChecksum ( eval_data ) ;
@@ -265,7 +265,7 @@ export class LintGpt extends ExternalRuleBase {
265
265
const eval_data = {
266
266
rule_checksum,
267
267
location_context : property . locationContext ,
268
- node : stableStringify ( property . value ) ,
268
+ node : stableStringify ( property . value ?? '' ) ,
269
269
node_before : stableStringify ( property . before ?? '' ) ,
270
270
} ;
271
271
const node_checksum = computeNodeChecksum ( eval_data ) ;
0 commit comments