Skip to content

Commit 3270cad

Browse files
committed
Fixes log sanitizing
1 parent 3ce034a commit 3270cad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plus/github/github.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,7 +2270,7 @@ export class GitHubApi implements Disposable {
22702270

22712271
private _enterpriseVersions = new Map<string, Version | null>();
22722272

2273-
@debug<GitHubApi['getEnterpriseVersion']>({ args: { 0: '<token>' } })
2273+
@debug<GitHubApi['getEnterpriseVersion']>({ args: { 0: p => p?.name, 1: '<token>' } })
22742274
private async getEnterpriseVersion(
22752275
provider: RichRemoteProvider | undefined,
22762276
token: string,
@@ -2707,7 +2707,7 @@ export class GitHubApi implements Disposable {
27072707
}
27082708
}
27092709

2710-
@debug<GitHubApi['searchMyIssues']>({ args: { 0: '<token>' } })
2710+
@debug<GitHubApi['searchMyIssues']>({ args: { 0: p => p.name, 1: '<token>' } })
27112711
async searchMyIssues(
27122712
provider: RichRemoteProvider,
27132713
token: string,

0 commit comments

Comments
 (0)