You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
running spectral on an non existing file does return that all is fine
To Reproduce
spectral lint bob --ruleset .spectral.spectral.yaml
with no file called bob
return
"No results with a severity of 'error' found!"
Expected behavior
a message indicating that bob file does not exists and return error exit code
Environment (remove any that are not applicable):
OS: Windows
Spectral ; 6.11.1
Additional context
if i set a wrong ruleset i have a nice error message ,
"Could not read ruleset" , i would expect the same cannot read the api decription file
The text was updated successfully, but these errors were encountered:
Describe the bug
running spectral on an non existing file does return that all is fine
To Reproduce
spectral lint bob --ruleset .spectral.spectral.yaml
with no file called bob
return
"No results with a severity of 'error' found!"
Expected behavior
a message indicating that bob file does not exists and return error exit code
Environment (remove any that are not applicable):
Additional context
if i set a wrong ruleset i have a nice error message ,
"Could not read ruleset" , i would expect the same cannot read the api decription file
The text was updated successfully, but these errors were encountered: