Skip to content

Commit

Permalink
Fix broken eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeelmers committed Nov 26, 2019
1 parent be40a9e commit efb95ef
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { history } from '../../../utils/history';
import { usePlugins } from '../../../new-platform/plugin';
import { useDynamicIndexPattern } from '../../../hooks/useDynamicIndexPattern';
import {
esKuery,
AutocompleteProvider,
AutocompleteSuggestion,
esKuery,
Expand All @@ -34,10 +33,7 @@ interface State {
isLoadingSuggestions: boolean;
}

function convertKueryToEsQuery(
kuery: string,
indexPattern: IIndexPattern
) {
function convertKueryToEsQuery(kuery: string, indexPattern: IIndexPattern) {
const ast = esKuery.fromKueryExpression(kuery);
return esKuery.toElasticsearchQuery(ast, indexPattern);
}
Expand Down

0 comments on commit efb95ef

Please sign in to comment.