浏览代码

Fixes typos

main
Eric Amodio 2 年前
父节点
当前提交
1638fa7e5b
共有 4 个文件被更改,包括 6 次插入6 次删除
  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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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 查看文件

@ -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;

正在加载...
取消
保存