From 5af584654601921b7f5e5e87e4437e46f52e4111 Mon Sep 17 00:00:00 2001 From: Vladimir Potekhin Date: Tue, 13 Aug 2024 18:47:36 +0300 Subject: [PATCH] chore: fix coment --- .../ng-update/v4/steps/constants/attr-with-values-to-replace.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts b/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts index 11271ec1e79e..0801a8003732 100644 --- a/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts +++ b/projects/cdk/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.ts @@ -40,7 +40,7 @@ export const ATTR_WITH_VALUES_TO_REPLACE: ReplacementAttributeValue[] = [ { attrNames: ['[pseudoInvalid]'], newAttrName: '[attr.data-mode]', - withTagNames: hasPseudo, + withTagNames: hasPseudoInvalid, valueReplacer: (condition) => `${condition} ? 'invalid' : null`, }, {