Skip to content

Commit 0dc8df1

Browse files
authored
Fix property name in qlpack (#52758)
1 parent 2cf6d9a commit 0dc8df1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/publishing-and-using-codeql-packs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ library: # set to true if the pack is a library. Set to false or omit for a quer
2626
name: <scope>/<pack>
2727
version: <x.x.x>
2828
description: <Description to publish with the package>
29-
default-suite: # optional, one or more queries in the pack to run by default
29+
defaultSuite: # optional, one or more queries in the pack to run by default
3030
- query: <relative-path>/query-file>.ql
31-
default-suite-file: default-queries.qls # optional, a pointer to a query-suite in this pack
31+
defaultSuiteFile: default-queries.qls # optional, a pointer to a query-suite in this pack
3232
license: # optional, the license under which the pack is published
3333
dependencies: # map from CodeQL pack name to version range
3434
```
3535
3636
* `name:` must follow the `<scope>/<pack>` format, where `<scope>` is the {% data variables.product.prodname_dotcom %} organization that you will publish to and `<pack>` is the name for the pack.
3737

38-
* A maximum of one of `default-suite` or `default-suite-file` is allowed. These are two different ways to define a default query suite to be run, the first by specifying queries directly in the qlpack.yml file and the second by specifying a query suite in the pack.
38+
* A maximum of one of `defaultSuite` or `defaultSuiteFile` is allowed. These are two different ways to define a default query suite to be run, the first by specifying queries directly in the qlpack.yml file and the second by specifying a query suite in the pack.
3939

4040
## Running `codeql pack publish`
4141

0 commit comments

Comments
 (0)