Skip to content

Commit

Permalink
small nit
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Jul 4, 2024
1 parent 9998024 commit 6cc8894
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export function correctCommonEsqlMistakes(query: string): {
// gets the index pattern from the FROM command using AST parsing
const indexPattern = getIndexPatternFromESQLQuery(formattedCommand);
const indexPatternWithFixedQuotes = replaceSingleQuotesWithDoubleQuotes(indexPattern);
formattedCommand = formattedCommand.replace(indexPattern, indexPatternWithFixedQuotes);
formattedCommand = `FROM ${indexPatternWithFixedQuotes}`;
break;
}
case 'WHERE':
Expand Down

0 comments on commit 6cc8894

Please sign in to comment.