Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
Browse files Browse the repository at this point in the history
…-ref HEAD~1..HEAD --fix'
  • Loading branch information
kibanamachine committed Jul 20, 2022
1 parent c4c73d4 commit 08ddfe7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x-pack/plugins/fleet/server/services/epm/agent/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ function replaceRootLevelYamlVariables(yamlVariables: { [k: string]: any }, yaml
}

// Recursively replace keys undefined values with null
function replaceUndefinedObjectValues(obj: any, performClone: Boolean) {
let workObj = performClone === true ? cloneDeep(obj) : obj;
function replaceUndefinedObjectValues(obj: any, performClone: boolean) {
const workObj = performClone === true ? cloneDeep(obj) : obj;
Object.entries(workObj).forEach(([key, val]) => {
const valType = typeof val;
if (valType === 'object') {
Expand Down

0 comments on commit 08ddfe7

Please sign in to comment.