Browse Source

Fixes rogue comma

main
Eric Amodio 4 years ago
parent
commit
9e84226101
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/commands/quickCommand.steps.ts

+ 4
- 2
src/commands/quickCommand.steps.ts View File

@ -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
})`
: ''
}`;
}

Loading…
Cancel
Save