Closed cdenneen closed 7 years ago
I think this is a similar case to #69, I should probably fix it in the same way by having it warn by default and then not check at all when the strict_dependencies
option is off.
You can make the check pass by disabling both strict_dependencies and fail on warnings.
@domcleal but the default is off... so since 1.2.x it's not working... 1.1.0 worked fine.
Yep, it is a regression, I was just making notes on how is best to fix it.
1.2.0 had some changes to this and another check that used to issue warnings but without affecting the exit code, but this was changed to issue a standard warning which did affect the exit code. The strict_dependencies setting still should override that behaviour.
When I realized it was failing I tried to add the strict_dependencies and it didn't work. I don't think this option does anything currently. On Wed, Jun 14, 2017 at 3:18 AM Dominic Cleal notifications@github.com wrote:
Yep, it is a regression, I was just making notes on how is best to fix it.
1.2.0 had some changes to this and another check that used to issue warnings but without affecting the exit code, but this was changed to issue a standard warning which did affect the exit code. The strict_dependencies setting still should override that behaviour.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/voxpupuli/metadata-json-lint/issues/76#issuecomment-308341872, or mute the thread https://github.com/notifications/unsubscribe-auth/AAr84duen8L1TFREVvf7wRukJ1qOf413ks5sD4k9gaJpZM4N0hIw .
Default should be false for looking at open ended dependencies but with 1.2.2 it's complaining and failing. Tried to set the following in Rakefile
as per the README but still errors on the open ended dependencies.
Output: