Rename qlpack.yml -> codeql-pack.yml in generator.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user