Skip to content

Commit

Permalink
check lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JQinglong committed Jul 3, 2023
1 parent 6a64092 commit 7c6547a
Show file tree
Hide file tree
Showing 3 changed files with 1,979 additions and 19 deletions.
4 changes: 2 additions & 2 deletions libs/action_helper/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@ export const installFromPage = async (
let idx = 1;
for (const link of linklist) {
const re = new RegExp(expression as string, "g");
let href = new URL(
const href = new URL(
link.getAttribute("href") as string,
pageInstallUrl,
).toString();
if (re.test(href)) {
const dataName = `${name}_${idx}`;
const fullPath = await installFromURL(
await installFromURL(
href,
dataName,
postProcesses,
Expand Down
Loading

0 comments on commit 7c6547a

Please sign in to comment.