diff options
author | Marcus Zanona <marcus@zanona.co> | 2017-11-09 13:45:14 -0200 |
---|---|---|
committer | Marcus Zanona <marcus@zanona.co> | 2017-11-09 13:46:03 -0200 |
commit | 4bc31fcd18bda03f0de516be0380d6885cdd3d9b (patch) | |
tree | ab720aa9e0733fa0962b76c3d3e5e7e91dca7958 /ale_linters/handlebars | |
parent | 7ed82ab712324eb410279b95d852659e97ff9021 (diff) | |
download | ale-4bc31fcd18bda03f0de516be0380d6885cdd3d9b.zip |
Fix imported files path lookup on less#lessc linter
Ale saves a temporary file (%t) which does not share the same path as
the original file, breaking import statements with relative URLs.
This fix sends content to `lessc` over stdin and adds
the current file (%s) as one of the included paths, so statements like
`@import '../utils' will correctly resolve based on the current file path.
Diffstat (limited to 'ale_linters/handlebars')
0 files changed, 0 insertions, 0 deletions