Skip to content

Commit 024d3e6

Browse files
committed
Remove support for 2.2.6 CLI
This is old enough that we don't need to support it.
1 parent c4a8b9b commit 024d3e6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ jobs:
151151
strategy:
152152
matrix:
153153
os: [ubuntu-latest, windows-latest]
154-
version: ['v2.2.6', 'v2.3.3', 'v2.4.6', 'v2.5.9', 'v2.6.1', 'nightly']
154+
version: ['v2.3.3', 'v2.4.6', 'v2.5.9', 'v2.6.1', 'nightly']
155155
env:
156156
CLI_VERSION: ${{ matrix.version }}
157157
NIGHTLY_URL: ${{ needs.find-nightly.outputs.url }}

extensions/ql-vscode/src/vscode-tests/no-workspace/contextual/queryResolver.test.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ describe('queryResolver', () => {
5252
const result = await module.resolveQueries(mockCli, { dbschemePackIsLibraryPack: true, dbschemePack: 'my-qlpack', queryPack: 'my-qlpack2' }, KeyType.DefinitionQuery);
5353
expect(result).to.deep.equal(['a', 'b']);
5454
expect(writeFileSpy.getCall(0).args[0]).to.match(/.qls$/);
55-
expect(yaml.safeLoad(writeFileSpy.getCall(0).args[1])).to.deep.equal({
56-
qlpack: 'my-qlpack2',
55+
expect(yaml.safeLoad(writeFileSpy.getCall(0).args[1])).to.deep.equal([{
56+
from: 'my-qlpack2',
57+
queries: '.',
5758
include: {
5859
kind: 'definitions',
5960
'tags contain': 'ide-contextual-queries/local-definitions'
6061
}
61-
});
62+
}]);
6263
});
6364

6465
it('should throw an error when there are no queries found', async () => {

0 commit comments

Comments
 (0)