瀏覽代碼

Fixes decorator order

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

+ 1
- 1
src/git/gitProviderService.ts 查看文件

@ -993,8 +993,8 @@ export class GitProviderService implements Disposable {
return provider.getContributors(path, options);
}
@log()
@gate()
@log()
async getCurrentUser(repoPath: string | Uri): Promise<GitUser | undefined> {
const { provider, path } = this.getProvider(repoPath);
return provider.getCurrentUser(path);

+ 1
- 1
src/git/providers/localGitProvider.ts 查看文件

@ -1253,8 +1253,8 @@ export class LocalGitProvider implements GitProvider, Disposable {
return contributors;
}
@log()
@gate()
@log()
async getCurrentUser(repoPath: string): Promise<GitUser | undefined> {
let user = this._userMapCache.get(repoPath);
if (user != null) return user;

Loading…
取消
儲存