From d756ad650a062228dae6630f0c076b8ea0ababb3 Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Thu, 19 May 2022 01:25:30 +0000 Subject: [PATCH] [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' --- .../test_models/models/ner/ner_inference.ts | 9 +++------ .../models/text_classification/fill_mask_inference.ts | 3 ++- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/ner/ner_inference.ts b/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/ner/ner_inference.ts index bb98c2d8e28bfa..0987a43ffb6d31 100644 --- a/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/ner/ner_inference.ts +++ b/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/ner/ner_inference.ts @@ -52,12 +52,9 @@ export class NerInference extends InferenceBase { } public getInputComponent(): JSX.Element { - const placeholder = i18n.translate( - 'xpack.ml.trainedModels.testModelsFlyout.ner.inputText', - { - defaultMessage: 'Enter a phrase to test', - } - ); + const placeholder = i18n.translate('xpack.ml.trainedModels.testModelsFlyout.ner.inputText', { + defaultMessage: 'Enter a phrase to test', + }); return getGeneralInputComponent(this, placeholder); } diff --git a/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/text_classification/fill_mask_inference.ts b/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/text_classification/fill_mask_inference.ts index e26c7a1b326f70..b9c1c724ca3485 100644 --- a/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/text_classification/fill_mask_inference.ts +++ b/x-pack/plugins/ml/public/application/trained_models/models_management/test_models/models/text_classification/fill_mask_inference.ts @@ -57,7 +57,8 @@ export class FillMaskInference extends InferenceBase const placeholder = i18n.translate( 'xpack.ml.trainedModels.testModelsFlyout.fillMask.inputText', { - defaultMessage: 'Enter a phrase to test. Use [MASK] as a placeholder for the missing words.', + defaultMessage: + 'Enter a phrase to test. Use [MASK] as a placeholder for the missing words.', } );