-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Area with issue?
Build server
✔️ Expected Behavior
In #4815 I had added a test to check that catalog: null
was valid, but then node ./cli.js check
would complain about the type of catalog
having to be an object:
>> Failed to validate file "src/test/pnpm-workspace/pnpm-workspace2.yaml" against schema file "./src/schemas/json/pnpm-workspace.json"
>> Showing first error out of 1 total error(s)
{
instancePath: '/catalog',
schemaPath: '#/definitions/dependency/type',
keyword: 'type',
params: { type: 'object' },
message: 'must be object'
}
However there would be no errors when opening the test files in my editor.
❌ Actual Behavior
For the tests to use the schema present in the respective commit.
JSON, YAML, or TOML file that does not work.
No response
IDE or code editor.
None
Are you making a PR for this?
No, someone else must create the PR.
Metadata
Metadata
Assignees
Labels
No labels