From 2a79c94a74ff014136f2aabe1434fa7f710fb2a2 Mon Sep 17 00:00:00 2001 From: Brandon Date: Fri, 12 Dec 2025 10:50:00 -0500 Subject: [PATCH] add comment --- jslib/node/src/cli/commands/update.command.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jslib/node/src/cli/commands/update.command.ts b/jslib/node/src/cli/commands/update.command.ts index e09bdc2d..87d1b7aa 100644 --- a/jslib/node/src/cli/commands/update.command.ts +++ b/jslib/node/src/cli/commands/update.command.ts @@ -26,6 +26,10 @@ export class UpdateCommand { "https://api.github.com/repos/bitwarden/" + this.repoName + "/releases/latest", ); if (response.status === 200) { + // FIXME As of node-fetch v.3 this response has "unknown" type. + // Github provides type definitions for thier public api, + // but as of now we do not have them as a dependnecy. We + // should in the future consider adding this. const responseJson = (await response.json()) as any; const res = new MessageResponse(null, null);