From 0fb245301bba3deec3835c33a53b349c7abf91c5 Mon Sep 17 00:00:00 2001 From: rgehbt <74761884+Gehbt@users.noreply.github.com> Date: Thu, 25 Jul 2024 12:25:04 +0800 Subject: [PATCH] fix(diagnostic): add missing data (#17) --- src/diagnostic/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/diagnostic/index.ts b/src/diagnostic/index.ts index 376e4e4..354054f 100644 --- a/src/diagnostic/index.ts +++ b/src/diagnostic/index.ts @@ -105,6 +105,8 @@ export async function updateDiagnostic(document: vscode.TextDocument) { ); diagnostic.code = DepsCheckDiagnosticCode.UNMET_DEPENDENCY; diagnostic.data = { + depName: name, + depDeclaredVersion: version, depInstalledVersion: installedVersion, };