浏览代码

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]));

正在加载...
取消
保存