|  |  |  | @ -19,11 +19,14 @@ class ProcessEnvironment { | 
		
	
		
			
				|  |  |  |  |         useEnv: MutableMap<String, String> = System.getenv() | 
		
	
		
			
				|  |  |  |  |     ) = | 
		
	
		
			
				|  |  |  |  |         useEnv.let { env -> | 
		
	
		
			
				|  |  |  |  |             env.filter { it.key.contains("ALFRED") }.forEach { env.remove(it.key) } | 
		
	
		
			
				|  |  |  |  |             env.putAll(config.env) | 
		
	
		
			
				|  |  |  |  |             env["ALFRED_LOG_FILE"] = logFile.backingFile.absolutePath | 
		
	
		
			
				|  |  |  |  |             env["ALFRED_REV"] = rev ?: "" | 
		
	
		
			
				|  |  |  |  |             env | 
		
	
		
			
				|  |  |  |  |             val newEnv = mutableMapOf<String, String>() | 
		
	
		
			
				|  |  |  |  |             newEnv.putAll(env) | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |             newEnv.filter { it.key.contains("ALFRED") }.forEach { env.remove(it.key) } | 
		
	
		
			
				|  |  |  |  |             newEnv.putAll(config.env) | 
		
	
		
			
				|  |  |  |  |             newEnv["ALFRED_LOG_FILE"] = logFile.backingFile.absolutePath | 
		
	
		
			
				|  |  |  |  |             newEnv["ALFRED_REV"] = rev ?: "" | 
		
	
		
			
				|  |  |  |  |             newEnv | 
		
	
		
			
				|  |  |  |  |         } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | } | 
		
	
	
		
			
				
					|  |  |  | 
 |