Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 9a64195

Browse files
authored
Update codeql-learninglab-check/package/src/index.ts
1 parent 1955215 commit 9a64195

File tree

1 file changed

+1
-1
lines changed
  • codeql-learninglab-check/package/src

1 file changed

+1
-1
lines changed

codeql-learninglab-check/package/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const writeFile = promisify(fs.writeFile);
2222
* If specific queries should be run, RUN_ALL cannot be true
2323
*/
2424
const RUN_ALL = process.env.RUN_ALL === 'true';
25-
const QUERY_PATTERN: RegExp | null = process.env.QUERY_PATTERN !== '' ? RegExp(process.env.QUERY_PATTERN) : null;
25+
const QUERY_PATTERN: RegExp | null = process.env.QUERY_PATTERN ? RegExp(process.env.QUERY_PATTERN) : null;
2626

2727
/**
2828
* Set to true to avoid using the GitHub API to post a comment

0 commit comments

Comments
 (0)