google-spreadsheet-translation-sync 1.3.12 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-spreadsheet-translation-sync",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
4
4
  "description": "A plugin to read and write i18n translationsfrom and to google spreadsheets ",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -124,8 +124,10 @@ module.exports = async function () {
124
124
  const line = [key];
125
125
 
126
126
  Object.keys(data).forEach(locale => {
127
- head.push(locale);
128
- line.push(data[locale][key] || '')
127
+ if (data[locale][key]) {
128
+ head.push(locale);
129
+ line.push(data[locale][key] || '')
130
+ }
129
131
  })
130
132
  // default export as Jira MD for now
131
133
  console.log(`||${head.join('||')}||