v0.6.2
This release changes the error message for the case when multiple targets in the config file use the same name
value, or a target in the config file omits the required name
value. Dactyl v0.6.2 also catches an error case that may be missed in prior versions if the number of targets with repeated and missing name
values offset each other exactly.
The old message was:
Duplicate or missing target name in config file
In Dactyl v0.6.2, the two cases have different error messages.
If a target does not have a name
field, the error includes the target object that is missing the name:
Target does not have required 'name' field: {'display_name': 'Dactyl Test Suite', 'intro_blurb': 'Dactyl is great! It makes indexes like this automatically!', 'condition': 'tests-2'}
If a target reuses the name
of a previous target, the error contains the repeated name:
Duplicate target name in config file: 'rs-api-reference'
Unless you specify --bypass_errors
, Dactyl exits after the first error of either type, even if the config file contains more such errors.