Skip to content

Commit

Permalink
Merge pull request #1316 from starknet-io/fix-pre-crowdin
Browse files Browse the repository at this point in the history
Fix pre crowdin script error
  • Loading branch information
lorcan-codes authored Sep 5, 2023
2 parents 01de25d + dc21547 commit affc223
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions workspaces/cms-scripts/src/crowdin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit affc223

Please sign in to comment.