浏览代码

Fixes rogue comma

main
Eric Amodio 4 年前
父节点
当前提交
9e84226101
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      src/commands/quickCommand.steps.ts

+ 4
- 2
src/commands/quickCommand.steps.ts 查看文件

@ -1782,9 +1782,11 @@ function getShowRepositoryStatusStepItems<
} else {
workingTreeStatus = `$(files) ${
computed.staged ? `${Strings.pluralize('staged file', computed.staged)} (${computed.stagedStatus})` : ''
}, ${
}${
computed.unstaged
? `${Strings.pluralize('unstaged file', computed.unstaged)} (${computed.unstagedStatus})`
? `${computed.staged ? ', ' : ''}${Strings.pluralize('unstaged file', computed.unstaged)} (${
computed.unstagedStatus
})`
: ''
}`;
}

正在加载...
取消
保存