diff --git a/client/src/extension.ts b/client/src/extension.ts index 779a2447..a56e63ac 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -108,7 +108,7 @@ export async function activate(context: ExtensionContext) { languageClient.onNotification("cfn/cfnLintUpgradeNeeded", (params) => { window.showInformationMessage( - `You are using an outdated version of cfn-lint (${params["cli_version"]}). The latest version is ${params["latest_version"]}.` + `You are using an outdated version of cfn-lint (${params["cliVersion"]}). The latest version is ${params["latestVersion"]}.` ); }); diff --git a/server/src/server/handlers/notificationHandler.ts b/server/src/server/handlers/notificationHandler.ts index 5fe8f469..ec2f2367 100644 --- a/server/src/server/handlers/notificationHandler.ts +++ b/server/src/server/handlers/notificationHandler.ts @@ -73,8 +73,8 @@ export class NotificationHandler { try { if (gt(latestVersion, cliVersion)) { this.connection.sendNotification("cfn/cfnLintUpgradeNeeded", { - cli_version: cliVersion, - latest_version: latestVersion, + cliVersion: cliVersion, + latestVersion: latestVersion, }); } } catch (error) {