From f27471d34ea9ce3de175d6109581940a4d68fa88 Mon Sep 17 00:00:00 2001 From: Ilona Shishov Date: Mon, 18 Dec 2023 11:39:46 +0200 Subject: [PATCH] chore: recommend Red Hat GA repository on recommendation and remediation Signed-off-by: Ilona Shishov --- src/codeActionHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codeActionHandler.ts b/src/codeActionHandler.ts index a91c9478..88545c6f 100644 --- a/src/codeActionHandler.ts +++ b/src/codeActionHandler.ts @@ -101,7 +101,7 @@ function generateSwitchToRecommendedVersionAction(title: string, versionReplacem newText: versionReplacementString }]; - if (diagnostic.severity !== 1 && path.basename(uri) === 'pom.xml') { + if (path.basename(uri) === 'pom.xml') { codeAction.command = { title: 'RedHat repository recommendation', command: globalConfig.triggerRHRepositoryRecommendationNotification,