File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " repo-status" ,
3
3
"displayName" : " Repository status" ,
4
4
"description" : " Shows repository branch grade and issue count in the status bar." ,
5
- "version" : " 1.0 .0" ,
5
+ "version" : " 1.1 .0" ,
6
6
"publisher" : " codefactor" ,
7
7
"repository" : {
8
8
"type" : " git" ,
Original file line number Diff line number Diff line change @@ -62,13 +62,17 @@ function updateStatusBarItem(): void {
62
62
statusBarItem . show ( ) ;
63
63
itemState = State . Found ;
64
64
}
65
- else
65
+ else
66
66
{
67
67
statusBarItem . text = `$(megaphone) -` ;
68
68
statusBarItem . show ( ) ;
69
69
itemState = State . NotFound ;
70
70
}
71
- } ) ;
71
+ } ) . then ( undefined , err => {
72
+ statusBarItem . text = `$(megaphone) -` ;
73
+ statusBarItem . show ( ) ;
74
+ itemState = State . NotFound ;
75
+ } )
72
76
} catch ( exception ) {
73
77
statusBarItem . text = `$(megaphone) -` ;
74
78
statusBarItem . show ( ) ;
You can’t perform that action at this time.
0 commit comments