Commit 1040af1d authored by Vildravn's avatar Vildravn
Browse files

Use cheerio directly instead of downloading it

parent c45c5524
...@@ -59,8 +59,7 @@ const textStyles = { ...@@ -59,8 +59,7 @@ const textStyles = {
// ----------------------------- // -----------------------------
const require = importModule('scriptable-require'); const cheerio = importModule('cheerio');
const cheerio = await require('cheerio', false);
if (config.runsInWidget) { if (config.runsInWidget) {
const size = config.widgetFamily; const size = config.widgetFamily;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment