Browse Source

Fixes #482 - UI displays "undefined" in results panel when comparing

main
Eric Amodio 6 years ago
parent
commit
0e770816a7
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      src/system/string.ts

+ 1
- 0
CHANGELOG.md View File

@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
## [Unreleased] ## [Unreleased]
### Fixed ### Fixed
- Fixes [#477](https://github.com/eamodio/vscode-gitlens/issues/477) - Can't load any GitLens features or UI - 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 ## [8.5.5] - 2018-08-18
### Added ### Added

+ 1
- 1
src/system/string.ts View File

@ -116,7 +116,7 @@ export namespace Strings {
if (options === undefined) return `${count} ${s}${count === 1 ? '' : 's'}`; if (options === undefined) return `${count} ${s}${count === 1 ? '' : 's'}`;
return `${count === 0 ? options.zero || count : options.number || count} ${ 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'}`
}`; }`;
} }

Loading…
Cancel
Save