Files
codeql-action/lib
Andrew Eisenberg fba13b0092 More readable error message for invalid queries block
When someone creates an invalid `queries` entry in the codeql config
file, like this:

```
queries:
  - foo.ql
```

THe error message is confusing, looking like this:

```
  Error: Cannot use 'in' operator to search for 'uses' in ql/ql/src
  TypeError: Cannot use 'in' operator to search for 'uses' in ql/ql/src
      at loadConfig (/home/runner/work/_actions/github/codeql-action/71a8b35ff4c80fcfcd05bc1cd932fe3c08f943ca/lib/config-utils.js:577:41)
```

With this change, the error message is more comprehensible:

`queries must be an array, with each entry having a 'uses' property`
2022-08-15 07:56:00 -07:00
..
2022-06-30 09:16:10 +01:00
2022-08-11 17:11:05 +01:00
2022-08-11 17:11:05 +01:00
2022-08-11 17:10:50 +01:00
2022-08-11 17:10:50 +01:00
2021-08-26 13:46:22 +01:00
2022-08-11 13:45:26 +02:00
2022-08-11 13:45:26 +02:00
2022-08-05 17:48:05 +01:00
2022-08-05 17:48:05 +01:00