Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Feb 16, 2023
1 parent 0f1a68b commit 1be70cc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/kbn-es-query/src/filters/helpers/only_disabled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ const isEnabled = (f: Filter) => f && f.meta && !f.meta.disabled;
*
* @public
*/
export const onlyDisabledFiltersChanged = (newFilters?: Filter[], oldFilters?: Filter[], comparatorOptions?: FilterCompareOptions = COMPARE_ALL_OPTIONS) => {
export const onlyDisabledFiltersChanged = (
newFilters?: Filter[],
oldFilters?: Filter[],
comparatorOptions?: FilterCompareOptions = COMPARE_ALL_OPTIONS
) => {
// If it's the same - compare only enabled filters
const newEnabledFilters = filter(newFilters || [], isEnabled);
const oldEnabledFilters = filter(oldFilters || [], isEnabled);
Expand Down

0 comments on commit 1be70cc

Please sign in to comment.