Skip to content

Commit ab29fb7

Browse files
committed
Copy changes and remove extra line
1 parent 086df15 commit ab29fb7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

extensions/ql-vscode/src/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

extensions/ql-vscode/src/qlpack-generator.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)