@sap-ux/project-access 1.26.0 → 1.26.1
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/dist/project/info.js +1 -2
- package/package.json +1 -1
package/dist/project/info.js
CHANGED
|
@@ -218,12 +218,11 @@ exports.getMinUI5VersionFromManifest = getMinUI5VersionFromManifest;
|
|
|
218
218
|
*/
|
|
219
219
|
function getMinUI5VersionAsArray(manifest, noValidation = false) {
|
|
220
220
|
const result = [];
|
|
221
|
-
const manifestVariablePattern = /^\$\{.*\}$/; // minUI5Version can also contain variable entries like ${sap.ui5.dist.version}
|
|
222
221
|
const minUI5Version = getMinUI5VersionFromManifest(manifest);
|
|
223
222
|
if (minUI5Version) {
|
|
224
223
|
const minUI5VersionArray = Array.isArray(minUI5Version) ? minUI5Version : [minUI5Version];
|
|
225
224
|
minUI5VersionArray.forEach((version) => {
|
|
226
|
-
if (noValidation || (0, semver_1.valid)(version)
|
|
225
|
+
if (noValidation || (0, semver_1.valid)(version)) {
|
|
227
226
|
result.push(version);
|
|
228
227
|
}
|
|
229
228
|
});
|