Browse Source

Avoids logging uris

main
Eric Amodio 3 years ago
parent
commit
df84af27d2
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      src/git/gitService.ts

+ 6
- 1
src/git/gitService.ts View File

@ -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<Uri[]> { async excludeIgnoredUris(repoPath: string, uris: Uri[]): Promise<Uri[]> {
const paths = new Map<string, Uri>(uris.map(u => [Strings.normalizePath(u.fsPath), u])); const paths = new Map<string, Uri>(uris.map(u => [Strings.normalizePath(u.fsPath), u]));

Loading…
Cancel
Save