GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #1208 from github/aeisenberg/better-error-message · github/codeql-action@1cd5043

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • CHANGELOG.md
  • lib
    • analyze.js.map
    • analyze.js
    • analyze.test.js.map
    • analyze.test.js
    • config-utils.js.map
    • config-utils.js
    • config-utils.test.js.map
    • config-utils.test.js
  • src
    • analyze.test.ts
    • analyze.ts
    • config-utils.test.ts
    • config-utils.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [UNRELEASED]
44

5-
No user facing changes.
5+
- Improve error messages when the code scanning configuration file includes an invalid `queries` block or an invalid `query-filters` block. [#1208](https://github.com/github/codeql-action/pull/1208)
66

77
## 2.1.20 - 22 Aug 2022
88

Collapse file

‎lib/analyze.js‎

Copy file name to clipboardExpand all lines: lib/analyze.js
+3Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/analyze.js.map‎

Copy file name to clipboardExpand all lines: lib/analyze.js.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/analyze.test.js‎

Copy file name to clipboardExpand all lines: lib/analyze.test.js
+5Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/analyze.test.js.map‎

Copy file name to clipboardExpand all lines: lib/analyze.test.js.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/config-utils.js‎

Copy file name to clipboardExpand all lines: lib/config-utils.js
+7-4Lines changed: 7 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/config-utils.js.map‎

Copy file name to clipboardExpand all lines: lib/config-utils.js.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/config-utils.test.js‎

Copy file name to clipboardExpand all lines: lib/config-utils.test.js
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎lib/config-utils.test.js.map‎

Copy file name to clipboardExpand all lines: lib/config-utils.test.js.map
+1-1Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎src/analyze.test.ts‎

Copy file name to clipboardExpand all lines: src/analyze.test.ts
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,16 @@ test("validateQueryFilters", (t) => {
313313
},
314314
{ message: /Only "include" or "exclude" filters are allowed/ }
315315
);
316+
317+
t.throws(
318+
() => {
319+
return validateQueryFilters({ exclude: "foo" } as any);
320+
},
321+
{
322+
message:
323+
/Query filters must be an array of "include" or "exclude" entries/,
324+
}
325+
);
316326
});
317327

318328
const convertPackToQuerySuiteEntryMacro = test.macro({

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.