@talend/i18n-scripts
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -29,8 +29,10 @@ /* eslint-disable global-require */ | ||
const { version } = getXmlAsJson(pomXmlPath).project; | ||
const match = version.match(VERSION_REGEX); | ||
if (match) { | ||
info = { | ||
source: 'pom.xml', | ||
version: match[1], | ||
}; | ||
if (version !== undefined) { | ||
const match = version.match(VERSION_REGEX); | ||
if (match) { | ||
info = { | ||
source: 'pom.xml', | ||
version: match[1], | ||
}; | ||
} | ||
} | ||
@@ -37,0 +39,0 @@ } |
{ | ||
"name": "@talend/i18n-scripts", | ||
"description": "Set of scripts to ease i18n workflow", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
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
125293
1213