Fix filter query existence tests in logical expressions. #83
Annotations
9 errors and 1 warning
Run npm run lint:
src/path/expression.ts#L135
Replace `!this.logical·&&·left·instanceof·JSONPathNodeList·&&·left.nodes.length·===·1` with `⏎······!this.logical·&&⏎······left·instanceof·JSONPathNodeList·&&⏎······left.nodes.length·===·1⏎····`
|
Run npm run lint:
src/path/expression.ts#L139
Replace `!this.logical·&&·right·instanceof·JSONPathNodeList·&&·right.nodes.length·===·1` with `⏎······!this.logical·&&⏎······right·instanceof·JSONPathNodeList·&&⏎······right.nodes.length·===·1⏎····`
|
Run npm run lint:
tests/path/query.test.ts#L4
Delete `··`
|
Run npm run lint:
tests/path/query.test.ts#L5
Delete `··`
|
Run npm run lint:
tests/path/query.test.ts#L6
Replace `··const·data·=··[{"a":·false,·"b":·false` with `const·data·=·[{·a:·false,·b:·false·`
|
Run npm run lint:
tests/path/query.test.ts#L7
Replace `······expect(query(path,·data).values()).toStrictEqual([{"a":·false,·"b":·false` with `····expect(query(path,·data).values()).toStrictEqual([{·a:·false,·b:·false·`
|
Run npm run lint:
tests/path/query.test.ts#L8
Delete `··`
|
Run npm run lint:
tests/path/query.test.ts#L9
Replace `··}⏎);` with `});⏎`
|
Run npm run lint
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading