Skip to content

Commit f856e3a

Browse files
committed
Address review comments
1 parent 38a6401 commit f856e3a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

extensions/ql-vscode/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@
183183
"codeQL.runningQueries.maxPaths": {
184184
"type": "integer",
185185
"default": 4,
186+
"minimum": 1,
187+
"maximum": 256,
186188
"markdownDescription": "Max number of paths to display for each alert found by a path query (`@kind path-problem`)."
187189
},
188190
"codeQL.runningQueries.autoSave": {

extensions/ql-vscode/src/vscode-tests/minimal-workspace/config.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ describe('config listeners', function() {
4848
name: 'codeQL.runningTests.numberOfThreads',
4949
property: 'numberTestThreads',
5050
values: [1, 0]
51+
}, {
52+
name: 'codeQL.runningQueries.maxPaths',
53+
property: 'maxPaths',
54+
values: [0, 1]
5155
}]
5256
},
5357
{

0 commit comments

Comments
 (0)