瀏覽代碼

Avoids logging uris

main
Eric Amodio 3 年之前
父節點
當前提交
df84af27d2
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. +6
    -1
      src/git/gitService.ts

+ 6
- 1
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<Uri[]> {
const paths = new Map<string, Uri>(uris.map(u => [Strings.normalizePath(u.fsPath), u]));

Loading…
取消
儲存