Right now, if a file is passed as an absolute path, such as /root/index.html, it gets concatenated with the cwd so the CLI ends up trying to lint /root/root/index.html instead. This fixes that.
Sorry for the accidental review request to coalman.
I haven't been a part of this project for awhile now, but I plan to start looking at some of the other issues and pull requests soon.
Right now, if a file is passed as an absolute path, such as
/root/index.html
, it gets concatenated with thecwd
so the CLI ends up trying to lint/root/root/index.html
instead. This fixes that.This fix is needed to make SublimeLinter-contrib-htmllint work.