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 Dec 12, 2024
1 parent 3ff9e2a commit a481fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ describe('EPM template', () => {
const objectFieldWithPropertyReversedMapping = {
dynamic_templates: [
{
'labels': {
labels: {
path_match: 'labels.*',
match_mapping_type: '*',
mapping: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function _generateMappings(
return; // runtime fields should not be added as a property
}

function addObjectAsDynamicMapping(field : Field) {
function addObjectAsDynamicMapping(field: Field) {
const path = ctx.groupFieldName ? `${ctx.groupFieldName}.${field.name}` : field.name;
const pathMatch = path.includes('*') ? path : `${path}.*`;

Expand Down

0 comments on commit a481fb2

Please sign in to comment.