File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -1218,8 +1218,8 @@ export class CodeQLCliServer implements Disposable {
12181218 }
12191219
12201220 /**
1221- * Adds a list of QL library packs with optional version ranges as dependencies of
1222- * the current package, and then installs them. This command modifies the qlpack.yml
1221+ * Adds a core language QL library pack for the given query language as a dependency
1222+ * of the current package, and then installs them. This command modifies the qlpack.yml
12231223 * file of the current package. Formatting and comments will be removed.
12241224 * @param dir The directory where QL pack exists.
12251225 * @param language The language of the QL pack.
@@ -1230,7 +1230,7 @@ export class CodeQLCliServer implements Disposable {
12301230 return this . runJsonCodeQlCliCommandWithAuthentication (
12311231 [ "pack" , "add" ] ,
12321232 args ,
1233- " Adding and installing pack dependencies." ,
1233+ ` Adding and installing ${ queryLanguage } pack dependency.` ,
12341234 ) ;
12351235 }
12361236
Original file line number Diff line number Diff line change @@ -69,9 +69,7 @@ export class QlPackGenerator {
6969 const qlPackYml = {
7070 name : this . qlpackName ,
7171 version : this . qlpackVersion ,
72- dependencies : {
73- [ `codeql/${ this . queryLanguage } -all` ] : "*" ,
74- } ,
72+ dependencies : { } ,
7573 } ;
7674
7775 await writeFile ( qlPackFilePath , this . header + dump ( qlPackYml ) , "utf8" ) ;
You can’t perform that action at this time.
0 commit comments