UNPKG

ts-packager

Version:
21 lines 611 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.overwriteEnvironment = void 0; /** * Overwrite the Environment from the Config * @param a Environment * @param b Config */ function overwriteEnvironment(a, b) { for (const key in b) { const value = b[key]; if (value !== undefined && value !== null && value !== '' && typeof value !== 'function') { a[key] = value; } } } exports.overwriteEnvironment = overwriteEnvironment; //# sourceMappingURL=overwrite-environment.js.map