Skip to content

Commit 0e77081

Browse files
committed
Fixes #482 - UI displays "undefined" in results panel when comparing
1 parent 3c05f84 commit 0e77081

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
77
## [Unreleased]
88
### Fixed
99
- Fixes [#477](https://github.com/eamodio/vscode-gitlens/issues/477) - Can't load any GitLens features or UI
10+
- Fixes [#482](https://github.com/eamodio/vscode-gitlens/issues/482) - UI displays "undefined" in results panel when comparing
1011

1112
## [8.5.5] - 2018-08-18
1213
### Added

src/system/string.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export namespace Strings {
116116
if (options === undefined) return `${count} ${s}${count === 1 ? '' : 's'}`;
117117

118118
return `${count === 0 ? options.zero || count : options.number || count} ${
119-
count === 1 ? s : options.plural || `${s}${options.suffix}`
119+
count === 1 ? s : options.plural || `${s}${options.suffix || 's'}`
120120
}`;
121121
}
122122

0 commit comments

Comments
 (0)