@platformatic/config
Advanced tools
Comparing version 1.39.0 to 1.40.0
@@ -51,3 +51,3 @@ 'use strict' | ||
this._originalEnv = opts.env || {} | ||
this.env = { ...process.env, ...this._originalEnv } | ||
this.env = { ...this._originalEnv } | ||
this._onMissingEnv = opts.onMissingEnv | ||
@@ -97,3 +97,3 @@ if (typeof opts.transformConfig === 'function') { | ||
} | ||
let env = { ...process.env, ...this._originalEnv } | ||
let env = { ...this._originalEnv } | ||
if (dotEnvPath) { | ||
@@ -121,2 +121,3 @@ const data = await readFile(dotEnvPath, 'utf-8') | ||
const fullEnv = { | ||
...process.env, | ||
...this.env, | ||
@@ -193,3 +194,2 @@ [PLT_ROOT]: join(this.fullPath, '..') | ||
} catch (err) { | ||
console.log(err) | ||
if (err.name === 'MissingValueError') { | ||
@@ -196,0 +196,0 @@ throw new errors.EnvVarMissingError(err.key) |
{ | ||
"name": "@platformatic/config", | ||
"version": "1.39.0", | ||
"version": "1.40.0", | ||
"description": "Platformatic DB Config Manager", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
"semver": "^7.6.0", | ||
"@platformatic/utils": "1.39.0" | ||
"@platformatic/utils": "1.40.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "scripts": { |
4
40430
+ Added@platformatic/utils@1.40.0(transitive)
- Removed@platformatic/utils@1.39.0(transitive)
Updated@platformatic/utils@1.40.0