mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
The issue here was that although the "simple" detection was in place if the URL looked like HTML (i.e. has an angle bracket in it), but it didn't ever set the `isFile` flag. This fix corrects this, but also swallows ENOENT errors, to mirror >=400 response codes being swallowed (i.e. return an empty body). Fixes #89 |
||
---|---|---|
.. | ||
fixtures | ||
index.test.js |