Skip to content

Commit 616fee1

Browse files
committed
fix(cli): convert undefined to null for lockData type compatibility
1 parent 38b2c4b commit 616fee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/commands/grpc-service/commands/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ async function generateProtoAndMapping({
603603
return {
604604
mapping: null,
605605
proto: mergedProto,
606-
lockData: currentLockData,
606+
lockData: currentLockData ?? null,
607607
isOperationsMode: true,
608608
};
609609
} else {

0 commit comments

Comments
 (0)