Skip to content

Commit

Permalink
fix: Do not export functions in getNonDefaultConfiguration (#6739)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored and joeyparrish committed Jun 4, 2024
1 parent b4c2308 commit 78ee6d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/util/config_utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ shaka.util.ConfigUtils = class {
delete obj[key];
} else if (isArrayEmpty(obj[key])) {
delete obj[key];
} else if (typeof obj[key] == 'function') {
delete obj[key];
} else if (isObject(obj[key])) {
removeEmpty(obj[key]);
}
Expand Down

0 comments on commit 78ee6d2

Please sign in to comment.