File tree Expand file tree Collapse file tree 3 files changed +3
-11
lines changed
Expand file tree Collapse file tree 3 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ export type LocalDatabasesCommands = {
6666 // Command palette commands
6767 "codeQL.chooseDatabaseFolder" : ( ) => Promise < void > ;
6868 "codeQL.chooseDatabaseArchive" : ( ) => Promise < void > ;
69+ "codeQL.chooseDatabaseInternet" : ( ) => Promise < void > ;
6970 "codeQL.upgradeCurrentDatabase" : ( ) => Promise < void > ;
7071 "codeQL.clearCache" : ( ) => Promise < void > ;
7172
Original file line number Diff line number Diff line change @@ -1231,17 +1231,6 @@ async function activateWithInstalledDistribution(
12311231 } ,
12321232 ) ,
12331233 ) ;
1234- ctx . subscriptions . push (
1235- commandRunnerWithProgress (
1236- "codeQL.chooseDatabaseInternet" ,
1237- ( progress : ProgressCallback , token : CancellationToken ) =>
1238- databaseUI . chooseDatabaseInternet ( progress , token ) ,
1239-
1240- {
1241- title : "Adding database from URL" ,
1242- } ,
1243- ) ,
1244- ) ;
12451234
12461235 ctx . subscriptions . push (
12471236 commandRunner ( "codeQL.copyVersion" , async ( ) => {
Original file line number Diff line number Diff line change @@ -212,6 +212,8 @@ export class DatabaseUI extends DisposableObject {
212212 this . handleChooseDatabaseFolderFromPalette . bind ( this ) ,
213213 "codeQL.chooseDatabaseArchive" :
214214 this . handleChooseDatabaseArchiveFromPalette . bind ( this ) ,
215+ "codeQL.chooseDatabaseInternet" :
216+ this . handleChooseDatabaseInternet . bind ( this ) ,
215217 "codeQL.setCurrentDatabase" : this . handleSetCurrentDatabase . bind ( this ) ,
216218 "codeQL.setDefaultTourDatabase" :
217219 this . handleSetDefaultTourDatabase . bind ( this ) ,
You can’t perform that action at this time.
0 commit comments