File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default async (
1010 context : vscode . ExtensionContext ,
1111 message : { data : { name : string ; version : string } }
1212) => {
13- const addon = addonManager . addons . get ( message . data . name ) ;
13+ const addon = addonManager . addons . get ( message . data . name ) ! ;
1414
1515 try {
1616 if ( message . data . version === "Latest" ) {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export class Addon {
5555 const moduleGit = git . cwd ( { path : modulePath . fsPath , root : false } ) ;
5656
5757 let currentVersion = null ;
58- let tags = [ ] ;
58+ let tags : string [ ] = [ ] ;
5959
6060 await this . getEnabled ( ) ;
6161
@@ -133,7 +133,7 @@ export class Addon {
133133 . remote ( [ "show" , "origin" ] ) ) as string ;
134134 const match = result . match ( / H E A D b r a n c h : ( \w + ) / ) ;
135135
136- return match [ 1 ] ;
136+ return match ! [ 1 ] ;
137137 }
138138
139139 public async pull ( ) {
You can’t perform that action at this time.
0 commit comments