Skip to content

Commit

Permalink
chore: update script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 2, 2023
1 parent 0decfb1 commit b881f6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/directives.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CheerioAPI, Element } from 'cheerio';
import { load, CheerioAPI, Cheerio, Element } from 'cheerio';
import fs from 'fs';
import https from 'https';
import { parse } from 'url';
Expand Down Expand Up @@ -121,7 +121,7 @@ async function getData(url: string) {
n: '',
d: [],
};
let variables: Element;
let variables: Cheerio<Element>;
children.each((_, child) => {
const data: DataItem = { ...resultItem };
if (
Expand Down

1 comment on commit b881f6e

@vercel
Copy link

@vercel vercel bot commented on b881f6e Apr 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nginx-editor – ./

nginx-editor-git-main-398188662.vercel.app
nginx-editor-398188662.vercel.app
nginx-editor.vercel.app

Please sign in to comment.