@talend/i18n-scripts
Advanced tools
Comparing version 2.6.1 to 2.6.2
{ | ||
"name": "@talend/i18n-scripts", | ||
"description": "Set of scripts to ease i18n workflow", | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -86,5 +86,5 @@ /* eslint-disable global-require */ | ||
fs.readdirSync(repoCmdContext.cwd) | ||
.filter(name => !['.git', '.gitignore'].includes(name)) | ||
.map(name => path.join(repoCmdContext.cwd, name)) | ||
.forEach(path => rimraf.sync(path)); | ||
.filter((name) => !['.git', '.gitignore'].includes(name)) | ||
.map((name) => path.join(repoCmdContext.cwd, name)) | ||
.forEach((path) => rimraf.sync(path)); | ||
} | ||
@@ -149,2 +149,5 @@ } | ||
printInfo(JSON.stringify(npmCmd)); | ||
if (npmCmd.status !== 0) { | ||
error('Error while deploying on npm'); | ||
} | ||
break; | ||
@@ -158,3 +161,5 @@ case 'mvn': | ||
); | ||
printInfo(JSON.stringify(mvnCmd)); | ||
if (npmCmd.status !== 0) { | ||
error('Error while deploying on mvn repo'); | ||
} | ||
break; | ||
@@ -186,3 +191,3 @@ default: | ||
const i18nContent = fs.readdirSync(i18nFolder); | ||
i18nContent.forEach(version => { | ||
i18nContent.forEach((version) => { | ||
printSection(`Version ${version}`); | ||
@@ -189,0 +194,0 @@ const versionOptions = { |
@@ -134,3 +134,3 @@ const fs = require('fs'); | ||
You used mvnModules to extract from modules folders, but your pom.xml does not contain any <modules> definition. | ||
talend-i18n.json | ||
@@ -145,3 +145,3 @@ { | ||
} | ||
pom.xml | ||
@@ -156,3 +156,3 @@ <project> | ||
} | ||
return all_modules; | ||
@@ -159,0 +159,0 @@ } |
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
117757
1600