File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ export function getErrorMessage(e: unknown): string {
6969}
7070
7171export function getErrorStack ( e : unknown ) : string {
72- return e instanceof Error ? e . stack ?? "" : "" ;
72+ return e instanceof Error ? ( e . stack ?? "" ) : "" ;
7373}
7474
7575export function asError ( e : unknown ) : Error {
Original file line number Diff line number Diff line change @@ -138,12 +138,12 @@ export class HistoryTreeDataProvider
138138
139139 const resultCount1 =
140140 h1 . t === "local"
141- ? h1 . completedQuery ?. resultCount ?? - 1
142- : h1 . resultCount ?? - 1 ;
141+ ? ( h1 . completedQuery ?. resultCount ?? - 1 )
142+ : ( h1 . resultCount ?? - 1 ) ;
143143 const resultCount2 =
144144 h2 . t === "local"
145- ? h2 . completedQuery ?. resultCount ?? - 1
146- : h2 . resultCount ?? - 1 ;
145+ ? ( h2 . completedQuery ?. resultCount ?? - 1 )
146+ : ( h2 . resultCount ?? - 1 ) ;
147147
148148 switch ( this . sortOrder ) {
149149 case SortOrder . NameAsc :
You can’t perform that action at this time.
0 commit comments