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 643040d commit 0982a70Copy full SHA for 0982a70
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 = stringify(val?.value)
+ const jsonString = val?.value ? stringify(val?.value) : undefined
138
return `/* @pos ${id} ${index} */ ${jsonString}`;
139
140
if (val.__typename === "SubFlowValue") {
0 commit comments