From df84af27d2fbd916280f0b4d7f004e99daab2bee Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 16 Jun 2021 00:08:29 -0400 Subject: [PATCH] Avoids logging uris --- src/git/gitService.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/git/gitService.ts b/src/git/gitService.ts index 5442826..bca7c24 100644 --- a/src/git/gitService.ts +++ b/src/git/gitService.ts @@ -695,7 +695,12 @@ export class GitService implements Disposable { } } - @log() + @log({ + args: { + 0: (repoPath: string) => repoPath, + 1: (uris: Uri[]) => `${uris.length}`, + }, + }) async excludeIgnoredUris(repoPath: string, uris: Uri[]): Promise { const paths = new Map(uris.map(u => [Strings.normalizePath(u.fsPath), u]));