From 3270cadb5423e22d8f335b9355dd9b9a08a3e8be Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Fri, 13 Oct 2023 12:42:34 -0400 Subject: [PATCH] Fixes log sanitizing --- src/plus/github/github.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plus/github/github.ts b/src/plus/github/github.ts index 12e1dcf..e2aaae4 100644 --- a/src/plus/github/github.ts +++ b/src/plus/github/github.ts @@ -2270,7 +2270,7 @@ export class GitHubApi implements Disposable { private _enterpriseVersions = new Map(); - @debug({ args: { 0: '' } }) + @debug({ args: { 0: p => p?.name, 1: '' } }) private async getEnterpriseVersion( provider: RichRemoteProvider | undefined, token: string, @@ -2707,7 +2707,7 @@ export class GitHubApi implements Disposable { } } - @debug({ args: { 0: '' } }) + @debug({ args: { 0: p => p.name, 1: '' } }) async searchMyIssues( provider: RichRemoteProvider, token: string,