mirror of
https://github.com/danog/inline-critical.git
synced 2024-11-30 04:29:07 +01:00
fix linter warnings
This commit is contained in:
parent
e1408b4070
commit
480549442f
1
index.js
1
index.js
@ -51,7 +51,6 @@ function normalizePath(str) {
|
||||
function inline(html, styles, options) {
|
||||
const o = {...DEFAULT_OPTIONS, ...(options || {})};
|
||||
|
||||
// console.log(o);
|
||||
if (!isString(html)) {
|
||||
html = String(html);
|
||||
}
|
||||
|
@ -636,4 +636,6 @@ test('Remove stylesheets', async () => {
|
||||
|
||||
expect(out2.toString('utf8')).not.toMatch('css/cartoon.css');
|
||||
expect(out2.toString('utf8')).not.toMatch('css/bootstrap.css');
|
||||
expect(out.toString('utf8')).not.toMatch('css/bootstrap.css');
|
||||
expect(out.toString('utf8')).not.toMatch('css/bootstrap.css');
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user