fix(config): remove runtimeConfig string fallback (#7421)

[release]
This commit is contained in:
Kevin Marrec 2020-05-27 15:38:29 +02:00 committed by GitHub
parent 6cbcd59d4e
commit 618eb5fad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ function loadEnv (envConfig, rootDir = process.cwd()) {
function expand (target, source = {}, parse = v => v) {
function getValue (key) {
// Source value 'wins' over target value
return source[key] !== undefined ? source[key] : (target[key] || '')
return source[key] !== undefined ? source[key] : target[key]
}
function interpolate (value) {