File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
extensions/ql-vscode/src/variant-analysis Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -131,14 +131,12 @@ export class VariantAnalysisManager
131131
132132 getCommands ( ) : VariantAnalysisCommands {
133133 return {
134- "codeQL.openVariantAnalysisLogs" : async ( variantAnalysisId : number ) => {
135- await this . openVariantAnalysisLogs ( variantAnalysisId ) ;
136- } ,
137- "codeQL.runVariantAnalysis" : async ( uri ?: Uri ) =>
138- this . runVariantAnalysisFromCommand ( uri ) ,
134+ "codeQL.openVariantAnalysisLogs" : this . openVariantAnalysisLogs . bind ( this ) ,
135+ "codeQL.runVariantAnalysis" :
136+ this . runVariantAnalysisFromCommand . bind ( this ) ,
139137 // Since we are tracking extension usage through commands, this command mirrors the "codeQL.runVariantAnalysis" command
140- "codeQL.runVariantAnalysisContextEditor" : async ( uri ?: Uri ) =>
141- this . runVariantAnalysisFromCommand ( uri ) ,
138+ "codeQL.runVariantAnalysisContextEditor" :
139+ this . runVariantAnalysisFromCommand . bind ( this ) ,
142140 } ;
143141 }
144142
You can’t perform that action at this time.
0 commit comments