Rename qlpack.yml -> codeql-pack.yml in generator.

This commit is contained in:
Anders Starcke Henriksen
2023-02-21 09:40:49 +01:00
parent c6481ca6ff
commit 94b81bae71
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ export class QlPackGenerator {
this.qlpackVersion = "1.0.0";
this.header = "# This is an automatically generated file.\n\n";
this.qlpackFileName = "qlpack.yml";
this.qlpackFileName = "codeql-pack.yml";
this.folderUri = Uri.file(join(this.storagePath, this.folderName));
}
@@ -42,7 +42,7 @@ export class QlPackGenerator {
// create QL pack folder and add to workspace
await this.createWorkspaceFolder();
// create qlpack.yml
// create codeql-pack.yml
await this.createQlPackYaml();
// create example.ql

View File

@@ -23,7 +23,7 @@ describe("QlPackGenerator", () => {
packFolderName = `test-ql-pack-${language}`;
packFolderPath = Uri.file(join(dir.name, packFolderName)).fsPath;
qlPackYamlFilePath = join(packFolderPath, "qlpack.yml");
qlPackYamlFilePath = join(packFolderPath, "codeql-pack.yml");
exampleQlFilePath = join(packFolderPath, "example.ql");
packAddSpy = jest.fn();