Skip to content

Commit

Permalink
Fixes #482 - UI displays "undefined" in results panel when comparing
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Aug 21, 2018
1 parent 3c05f84 commit 0e77081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## [Unreleased]
### Fixed
- Fixes [#477](https://github.com/eamodio/vscode-gitlens/issues/477) - Can't load any GitLens features or UI
- Fixes [#482](https://github.com/eamodio/vscode-gitlens/issues/482) - UI displays "undefined" in results panel when comparing

## [8.5.5] - 2018-08-18
### Added
Expand Down
2 changes: 1 addition & 1 deletion src/system/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export namespace Strings {
if (options === undefined) return `${count} ${s}${count === 1 ? '' : 's'}`;

return `${count === 0 ? options.zero || count : options.number || count} ${
count === 1 ? s : options.plural || `${s}${options.suffix}`
count === 1 ? s : options.plural || `${s}${options.suffix || 's'}`
}`;
}

Expand Down

0 comments on commit 0e77081

Please sign in to comment.