fix(review): name each lens section, as crafter-review 1.0 requires
crafter-review 1.0.1, the released build installed on this machine, and the newer build installed beside it as //local refuse the config key lensSections: a lens's repository section is named per lens, as lenses.<name>.section, instead of being found by listing a directory. With the key in place `crafter-review config` reports it as a problem, and freeze and run stop at "preflight: config: unknown key lensSections". The three files in .review-gates/lenses/ are named under lenses, one entry each, the migration the Crafter.Review session gave; with them `crafter-review config` reports no problem.
This commit is contained in:
parent
00f07dae88
commit
a1bc96a323
1 changed files with 11 additions and 1 deletions
|
|
@ -6,7 +6,17 @@
|
||||||
],
|
],
|
||||||
"aiTrailers": "forbid",
|
"aiTrailers": "forbid",
|
||||||
"requireSigned": true,
|
"requireSigned": true,
|
||||||
"lensSections": ".review-gates/lenses",
|
"lenses": {
|
||||||
|
"repo-better-solution": {
|
||||||
|
"section": ".review-gates/lenses/repo-better-solution.md"
|
||||||
|
},
|
||||||
|
"repo-bug-prover": {
|
||||||
|
"section": ".review-gates/lenses/repo-bug-prover.md"
|
||||||
|
},
|
||||||
|
"repo-facts": {
|
||||||
|
"section": ".review-gates/lenses/repo-facts.md"
|
||||||
|
}
|
||||||
|
},
|
||||||
"modes": {
|
"modes": {
|
||||||
"commits": {
|
"commits": {
|
||||||
"kind": "commits",
|
"kind": "commits",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue