htmllint / htmllint-cli

A command line interface for htmllint.
ISC License
59 stars 32 forks source link

Handle files passed as an absolute path #23

Closed nwoltman closed 7 years ago

nwoltman commented 7 years ago

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.

This fix is needed to make SublimeLinter-contrib-htmllint work.

messman commented 7 years ago

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.