diff --git a/workspaces/cms-scripts/src/crowdin.ts b/workspaces/cms-scripts/src/crowdin.ts index 464d0d0675..d3014788e2 100644 --- a/workspaces/cms-scripts/src/crowdin.ts +++ b/workspaces/cms-scripts/src/crowdin.ts @@ -171,11 +171,13 @@ export function handleFields( break; case "markdown": - files.push({ - type: "markdown", - data: data[field.name], - filepath: filepath + "_" + field.name, - }); + if(data[field.name] != null){ + files.push({ + type: "markdown", + data: data[field.name], + filepath: filepath + "_" + field.name, + }); + } break; case "list":