@@ -88,14 +88,10 @@ export class SearchResultsNode extends ViewNode<'search-results', SearchAndCompa
8888 let deferred ;
8989 if ( this . _searchQueryOrLog == null ) {
9090 deferred = true ;
91- this . _searchQueryOrLog = this . getSearchQuery ( {
92- label : this . _labels . queryLabel ,
93- } ) ;
91+ this . _searchQueryOrLog = this . getSearchQuery ( { label : this . _labels . queryLabel } ) ;
9492 } else if ( typeof this . _searchQueryOrLog !== 'function' ) {
9593 this . _searchQueryOrLog = this . getSearchQuery (
96- {
97- label : this . _labels . queryLabel ,
98- } ,
94+ { label : this . _labels . queryLabel } ,
9995 this . _searchQueryOrLog ,
10096 ) ;
10197 }
@@ -105,13 +101,8 @@ export class SearchResultsNode extends ViewNode<'search-results', SearchAndCompa
105101 this ,
106102 this . repoPath ,
107103 this . _labels . label ,
108- {
109- query : this . _searchQueryOrLog ,
110- deferred : deferred ,
111- } ,
112- {
113- expand : false ,
114- } ,
104+ { query : this . _searchQueryOrLog , deferred : deferred } ,
105+ { expand : false } ,
115106 true ,
116107 ) ;
117108 }
@@ -212,7 +203,7 @@ export class SearchResultsNode extends ViewNode<'search-results', SearchAndCompa
212203 : label . resultsType ;
213204
214205 return `${ pluralize ( resultsType . singular , count , {
215- format : c => ( log ?. hasMore ? `${ c } +` : undefined ) ,
206+ format : c => ( log ?. hasMore ? `${ c } +` : String ( c ) ) ,
216207 plural : resultsType . plural ,
217208 zero : 'No' ,
218209 } ) } ${ label . label } `;
0 commit comments