@eliumhq/elium-i18n
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -7,3 +7,3 @@ { | ||
"license": "UNLICENSED", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"engines": { | ||
@@ -10,0 +10,0 @@ "node": ">=9", |
@@ -15,6 +15,6 @@ const { exec } = require('./utils') | ||
const branchParam = branch ? `-b ${branch}` : '' | ||
const branchParam = branch ? `-b ${typeof branch !== 'boolean' ? branch : ''}` : '' | ||
try { | ||
// We have to force the pull otherwise existing languages are skipped | ||
await exec(`tx pull ${langs} --parallel -f -{branchParam}`) | ||
await exec(`tx pull ${langs} --parallel -f ${branchParam}`) | ||
@@ -21,0 +21,0 @@ // Transifex does not download the translation file for the source language |
@@ -6,3 +6,7 @@ const { exec } = require('./utils') | ||
try { | ||
await exec(`tx push -s --parallel ${branch ? '-b ' + branch : ''}`) | ||
var branchParam = '' | ||
if (branch) { | ||
branchParam = '-b ' + (typeof branch === 'boolean' ? '' : branch) | ||
} | ||
await exec(`tx push -s --parallel ${branchParam}`) | ||
console.log('Template pushed.') | ||
@@ -9,0 +13,0 @@ } catch (err) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19931
448