Selaa lähdekoodia

Fixes typos

main
Eric Amodio 2 vuotta sitten
vanhempi
commit
1638fa7e5b
4 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. +2
    -2
      package.json
  2. +1
    -1
      src/constants.ts
  3. +1
    -1
      src/views/nodes/branchNode.ts
  4. +2
    -2
      src/views/nodes/branchTrackingStatusNode.ts

+ 2
- 2
package.json Näytä tiedosto

@ -2308,7 +2308,7 @@
"properties": {
"repository": {
"type": "string",
"markdownDescription": "Specifies the format of a respository url for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path"
"markdownDescription": "Specifies the format of a repository url for the custom remote service\n\nAvailable tokens\\\n`${repo}` — repository path"
},
"branches": {
"type": "string",
@ -3451,7 +3451,7 @@
}
},
{
"id": "gitlens.unpushlishedChangesIconColor",
"id": "gitlens.unpublishedChangesIconColor",
"description": "Specifies the icon color of unpublished changes in the GitLens views",
"defaults": {
"dark": "#35b15e",

+ 1
- 1
src/constants.ts Näytä tiedosto

@ -39,7 +39,7 @@ export const enum Colors {
OpenAutolinkedIssueIconColor = 'gitlens.openAutolinkedIssueIconColor',
OpenPullRequestIconColor = 'gitlens.openPullRequestIconColor',
MergedPullRequestIconColor = 'gitlens.mergedPullRequestIconColor',
UnpushlishedChangesIconColor = 'gitlens.unpushlishedChangesIconColor',
UnpublishedChangesIconColor = 'gitlens.unpublishedChangesIconColor',
UnpublishedCommitIconColor = 'gitlens.unpublishedCommitIconColor',
UnpulledChangesIconColor = 'gitlens.unpulledChangesIconColor',
}

+ 1
- 1
src/views/nodes/branchNode.ts Näytä tiedosto

@ -388,7 +388,7 @@ export class BranchNode
if (this.branch.state.ahead || this.branch.state.behind) {
if (this.branch.state.ahead) {
contextValue += '+ahead';
color = new ThemeColor(Colors.UnpushlishedChangesIconColor);
color = new ThemeColor(Colors.UnpublishedChangesIconColor);
iconSuffix = '-green';
}
if (this.branch.state.behind) {

+ 2
- 2
src/views/nodes/branchTrackingStatusNode.ts Näytä tiedosto

@ -179,7 +179,7 @@ export class BranchTrackingStatusNode extends ViewNode impleme
contextValue = this.root
? ContextValues.StatusAheadOfUpstream
: ContextValues.BranchStatusAheadOfUpstream;
icon = new ThemeIcon('cloud-upload', new ThemeColor(Colors.UnpushlishedChangesIconColor));
icon = new ThemeIcon('cloud-upload', new ThemeColor(Colors.UnpublishedChangesIconColor));
break;
}
@ -237,7 +237,7 @@ export class BranchTrackingStatusNode extends ViewNode impleme
contextValue = this.root ? ContextValues.StatusNoUpstream : ContextValues.BranchStatusNoUpstream;
icon = new ThemeIcon(
'cloud-upload',
remotes.length ? new ThemeColor(Colors.UnpushlishedChangesIconColor) : undefined,
remotes.length ? new ThemeColor(Colors.UnpublishedChangesIconColor) : undefined,
);
break;

Ladataan…
Peruuta
Tallenna