UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

2 lines (1 loc) 416 B
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.filterEmpty=exports.copyEnvironmentVariables=void 0;function copyEnvironmentVariables(...names){const ret={};for(const name of names)process.env[name]&&(ret[name]={value:process.env[name]});return ret}exports.copyEnvironmentVariables=copyEnvironmentVariables;function filterEmpty(xs){return xs.filter(x=>x)}exports.filterEmpty=filterEmpty;