Browse Source

💄Prettiers

main
Eric Amodio 2 years ago
parent
commit
794306c01d
2 changed files with 14 additions and 12 deletions
  1. +7
    -6
      src/env/node/git/localGitProvider.ts
  2. +7
    -6
      src/plus/github/githubGitProvider.ts

+ 7
- 6
src/env/node/git/localGitProvider.ts View File

@ -2006,12 +2006,13 @@ export class LocalGitProvider implements GitProvider, Disposable {
name: tip,
isCurrentHead: head,
context: serializeWebviewItemContext<GraphItemRefContext>(context),
upstream: branch?.upstream != null
? {
name: branch.upstream.name,
id: getBranchId(repoPath, true, branch.upstream.name),
}
: undefined,
upstream:
branch?.upstream != null
? {
name: branch.upstream.name,
id: getBranchId(repoPath, true, branch.upstream.name),
}
: undefined,
};
refHeads.push(refHead);
if (branch?.upstream?.name != null) {

+ 7
- 6
src/plus/github/githubGitProvider.ts View File

@ -1286,12 +1286,13 @@ export class GitHubGitProvider implements GitProvider, Disposable {
name: headBranch.name,
isCurrentHead: true,
context: serializeWebviewItemContext<GraphItemRefContext>(context),
upstream: headBranch.upstream != null
? {
name: headBranch.upstream.name,
id: getBranchId(repoPath, true, headBranch.upstream.name),
}
: undefined,
upstream:
headBranch.upstream != null
? {
name: headBranch.upstream.name,
id: getBranchId(repoPath, true, headBranch.upstream.name),
}
: undefined,
},
];

||||||
x
 
000:0
Loading…
Cancel
Save