@platformatic/config
Advanced tools
Comparing version 2.24.0 to 2.25.0
@@ -142,2 +142,4 @@ 'use strict' | ||
async parse (replaceEnv = true, args = [], opts = {}) { | ||
let valid = true | ||
try { | ||
@@ -218,10 +220,15 @@ if (this.fullPath) { | ||
if (!validationResult) { | ||
return false | ||
valid = false | ||
if (!opts.transformOnValidationErrors) { | ||
return valid | ||
} | ||
} | ||
} | ||
if (opts.tranform !== false) { | ||
if (opts.transform !== false) { | ||
await this._transformConfig(args) | ||
} | ||
return true | ||
return valid | ||
} catch (err) { | ||
@@ -228,0 +235,0 @@ const newerr = new errors.CannotParseConfigFileError(err.message) |
{ | ||
"name": "@platformatic/config", | ||
"version": "2.24.0", | ||
"version": "2.25.0", | ||
"description": "Platformatic DB Config Manager", | ||
@@ -41,3 +41,3 @@ "main": "index.js", | ||
"undici": "^7.0.0", | ||
"@platformatic/utils": "2.24.0" | ||
"@platformatic/utils": "2.25.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "scripts": { |
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
48982
1057
+ Added@platformatic/utils@2.25.0(transitive)
- Removed@platformatic/utils@2.24.0(transitive)
Updated@platformatic/utils@2.25.0