-
Notifications
You must be signed in to change notification settings - Fork 212
Closed
Closed
Copy link
Labels
Description
Describe the bug
Some time ago, the scorecard config option was renamed to scorecardClassic. When using the old name in Reunite and running scorecard-classic, it works correctly.
scorecard:
levels:
- name: Baseline
extends:
- minimal
- ./@lint/baseline.yaml
- name: Silver
extends:
- recommended
- ./@lint/baseline.yaml
However, after renaming it to scorecardClassic, the scorecard-classic command produces an error:
scorecardClassic:
levels:
- name: Baseline
extends:
- minimal
- ./@lint/baseline.yaml
- name: Silver
extends:
- recommended
- ./@lint/baseline.yaml
To Reproduce
- Configure the scorecard in Reunite using the
scorecardconfiguration option. - Run the
scorecard-classiccommand and observe that it works correctly. - Rename the configuration option in Reunite to
scorecardClassic. - Run the
scorecard-classiccommand again. - Observe that the command throws an error.
Expected behavior
The scorecard-classic command should work correctly when the configuration option in Reunite is named scorecardClassic, the same as it does with the scorecard option.
Redocly version(s)
Redocly CLI: 2.19.0
Node.js version(s)
Node: v24.11.1
NPM: 11.6.2
OS, environment
macOS: 15.7.3 (24G419)
Reactions are currently unavailable