Describe the bug
Ok, this is nitpicking 😊 .... but ... error is the highest severity so or higher does not make sense in console output No results with a severity of 'error' or higher found!
To Reproduce
Run
spectral lint -r ruleset.yml api.yml --display-only-failures
where api.yml does not violate any rule defined in ruleset.yml with severity error (it may produce warn, info, hint results)
Expected behavior
No results with a severity of 'error' found!
Environment (remove any that are not applicable):
Additional context
Generally, output should be one of:
No results with a severity of 'error' found!
No results with a severity of 'warn' or higher found!
No results with a severity of 'info' or higher found!
No results with a severity of 'hint' or higher found!
Describe the bug
Ok, this is nitpicking 😊 .... but ...
erroris the highest severity soor higherdoes not make sense in console outputNo results with a severity of 'error' or higher found!To Reproduce
Run
spectral lint -r ruleset.yml api.yml --display-only-failureswhere
api.ymldoes not violate any rule defined inruleset.ymlwith severityerror(it may producewarn,info,hintresults)Expected behavior
No results with a severity of 'error' found!Environment (remove any that are not applicable):
Additional context
Generally, output should be one of:
No results with a severity of 'error' found!No results with a severity of 'warn' or higher found!No results with a severity of 'info' or higher found!No results with a severity of 'hint' or higher found!