mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Allow blank strings to be used for env var property substitutions
Fixes #4663
This commit is contained in:
		| @@ -68,7 +68,7 @@ function mapEnvVarProperties(obj,prop,flow,config) { | ||||
|         if (obj[prop][0] === "$" && (EnvVarPropertyRE_old.test(v) || EnvVarPropertyRE.test(v)) ) { | ||||
|             const envVar = v.substring(2,v.length-1); | ||||
|             const r = redUtil.getSetting(config, envVar, flow); | ||||
|             if (r !== undefined && r !== '') { | ||||
|             if (r !== undefined) { | ||||
|                 obj[prop] = r | ||||
|             } | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user