chris48s / v8r

✔️ A command-line JSON, YAML and TOML validator that's on your wavelength
https://chris48s.github.io/v8r/
MIT License
28 stars 5 forks source link

Remove `fileLocation` from `getSingleResultLogMessage()` signature #500

Open chris48s opened 2 weeks ago

chris48s commented 2 weeks ago

This will be a BC break when you do it, but fileLocation is an unnecessary param to this function. It duplicates information that is in the result object.

You should remove this so that the signatures for the 2 output hooks are: