thompsonsj / payload-crowdin-sync

Upload and sync localized fields from the default locale to Crowdin.
7 stars 6 forks source link

fix(document): do not update lexical blocks if empty #178

Closed thompsonsj closed 4 months ago

thompsonsj commented 4 months ago

If there is no block content, do not update Lexical blocks folders.

Could be improved - possibly do the check on block config instead. A scenario is possible where block content exists but config doesn't because it was reconfigured at a later date.

nx-cloud[bot] commented 4 months ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 26711be8a940eab8f038a84786f1497a4bab935e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`nx run-many --all --target=test`](https://cloud.nx.app/runs/PK9XjEsxtY?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.