From c9c330baf39071a51c6c899bf93a2f83ed973927 Mon Sep 17 00:00:00 2001 From: zhiyu1998 <542716863@qq.com> Date: Sun, 11 Aug 2024 12:39:24 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=AA=9B=20chore:=20=E6=B8=85=E7=90=86`tunn?= =?UTF-8?q?el`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tools.js | 1 - utils/common.js | 1 - utils/yunzai-util.js | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/tools.js b/apps/tools.js index 54acdf4..884bc9e 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -5,7 +5,6 @@ import { Buffer } from 'node:buffer'; // 其他库 import axios from "axios"; import _ from "lodash"; -import tunnel from "tunnel"; import { HttpsProxyAgent } from 'https-proxy-agent'; import { exec, execSync } from "child_process"; import { checkAndRemoveFile, deleteFolderRecursive, mkdirIfNotExists } from "../utils/file.js"; diff --git a/utils/common.js b/utils/common.js index 8a8860e..edc56ac 100644 --- a/utils/common.js +++ b/utils/common.js @@ -1,7 +1,6 @@ import schedule from "node-schedule"; import common from "../../../lib/common/common.js"; import axios from "axios"; -import tunnel from "tunnel"; import fs from "node:fs"; import fetch from "node-fetch"; import { mkdirIfNotExists } from "./file.js"; diff --git a/utils/yunzai-util.js b/utils/yunzai-util.js index 8d181b9..89e79ea 100644 --- a/utils/yunzai-util.js +++ b/utils/yunzai-util.js @@ -1,5 +1,5 @@ /** - * 将只有string的数组转换为原生的 {Bot.makeForwardMsg} + * 将只有 text 类型的数组转换为原生的 {Bot.makeForwardMsg} * @param e * @param textArray {string[]} */