Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Address comments
  • Loading branch information
David Verdeguer committed Apr 30, 2020
1 parent 2809bdc commit 6997a21
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -100,7 +100,7 @@ A config file looks like this:
```yaml
name: "My CodeQL config"

ignore-default-queries: true
disable-default-queries: true

queries:
- name: In-repo queries (Runs the queries located in the my-queries folder of the repo)
2 changes: 1 addition & 1 deletion lib/finalize-db.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/finalize-db.ts
@@ -106,7 +106,7 @@ async function runQueries(codeqlCmd: string, databaseFolder: string, sarifFolder
if (!config.disableDefaultQueries) {
queries.push(database + '-code-scanning.qls');
}
queries.push(...queriesPerLanguage[database]);
queries.push(...(queriesPerLanguage[database] || []));

const sarifFile = path.join(sarifFolder, database + '.sarif');

0 comments on commit 6997a21

Please sign in to comment.