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
..
2021-04-28 16:07:55 -07:00
2022-08-11 15:24:10 +02:00
2022-08-11 15:24:10 +02:00
2022-08-02 12:27:52 +02:00
2022-08-02 12:27:52 +02:00
2022-06-30 09:16:10 +01:00
2022-06-30 09:16:10 +01:00
2022-08-10 15:39:35 -07:00
2022-08-10 15:39:35 -07:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 16:47:31 +02:00
2022-08-11 16:47:31 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 17:11:05 +01:00
2022-08-11 17:11:05 +01:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 17:10:50 +01:00
2022-08-11 17:10:50 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-06-16 00:11:36 +00:00
2022-04-27 16:11:24 +01:00
2022-04-27 16:11:24 +01:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2022-08-11 09:56:08 -07:00
2022-08-11 09:56:08 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-15 07:56:00 -07:00
2022-08-15 07:56:00 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2021-08-26 13:46:22 +01:00
2021-08-26 13:46:22 +01:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2022-02-15 14:10:33 +00:00
2022-02-15 14:10:33 +00:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 13:45:26 +02:00
2022-08-11 13:45:26 +02:00
2022-08-10 14:57:57 +02:00
2022-08-10 14:57:57 +02:00
2022-08-12 10:43:51 +01:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-08-05 17:48:05 +01:00
2022-08-05 17:48:05 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-06-29 18:59:33 +01:00
2022-06-29 18:59:33 +01:00
2022-06-29 18:59:33 +01:00
2022-06-29 18:59:33 +01:00
2022-08-11 16:47:31 +02:00
2022-08-11 16:47:31 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 16:01:37 +02:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-08-09 18:37:22 +01:00
2022-08-09 18:37:22 +01:00
2022-05-27 16:29:13 +01:00
2022-05-27 16:29:13 +01:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2021-07-27 17:59:59 +01:00
2021-07-27 17:59:59 +01:00
2022-06-29 18:59:32 +01:00
2022-06-29 18:59:32 +01:00
2021-12-09 13:21:32 +00:00
2021-12-09 13:21:32 +00:00
2021-09-10 14:06:27 -07:00
2021-09-10 14:06:27 -07:00
2022-02-23 16:43:38 +00:00
2022-02-23 16:43:38 +00:00
2022-08-10 15:42:45 -07:00
2022-08-10 15:42:45 -07:00
2022-08-09 18:37:22 +01:00
2022-08-09 18:37:22 +01:00
2022-08-10 15:39:35 -07:00
2022-08-10 15:39:35 -07:00
2022-08-05 10:59:35 -04:00
2022-08-05 10:59:35 -04:00
2022-02-01 15:38:43 +00:00
2022-02-01 15:38:43 +00:00
2022-08-11 08:38:11 +01:00
2022-08-11 08:38:11 +01:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00
2022-08-11 14:57:16 -07:00