spectral
spectral copied to clipboard
does not support local url path
Describe the bug if specifies a local url path as input like , file:///C:/spcec.json , the spectral seems not work and output no errors
To Reproduce
- Run this CLI command '....' spectral lint file:///C:/foo.json
Expected behavior want to support it Screenshots If applicable, add screenshots to help explain your problem.
Environment (remove any that are not applicable):
- OS: [e.g. Windows 11]
Hey! Is there any reason you need to use a file protocol? We presumably don't support it yet, but the workaround here would be to get rid of that protocol assuming that's possible.