import { Environment } from '../executer/environment' ; export function getProcessEnvs ( envs , ctx ) { const result = { ... envs } ; for ( const key of Object . keys ( ctx . processEnvs ) ) { const value = ctx . processEnvs [ key ] ; if ( ! result [ key ] && value ) { result [ key ] = value ; } } return result ; }