We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0982a70 commit 6e2ca2aCopy full SHA for 6e2ca2a
1 file changed
src/utils.ts
@@ -134,7 +134,7 @@ export function generateFlowSourceCode(
134
return `/* @pos ${id} ${index} */ ${refCode}`;
135
}
136
if (val.__typename === "LiteralValue") {
137
- const jsonString = val?.value ? stringify(val?.value) : undefined
+ const jsonString = val?.value !== null && val?.value !== undefined ? stringify(val?.value) : undefined
138
return `/* @pos ${id} ${index} */ ${jsonString}`;
139
140
if (val.__typename === "SubFlowValue") {
0 commit comments