Skip to content

Commit 9bf6c6d

Browse files
committed
refactor(release): 移除未使用的导入以简化代码
- 从 publish-stable.mjs 中删除了未使用的 findPackage 导入 - 仅保留 ALL_PACKAGES 和 PACKAGES 的导入 - 提升代码的清晰度和维护性
1 parent 892ae30 commit 9bf6c6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/release/publish-stable.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { parseArgs } from "util";
44
import { runCheck } from "./check.mjs";
55
import { createTag, currentBranch, isWorkingTreeClean, pushTag, tagExists } from "./lib/git.mjs";
66
import { npmViewExists, pnpmPublish } from "./lib/npm.mjs";
7-
import { ALL_PACKAGES, findPackage, PACKAGES } from "./lib/packages.mjs";
7+
import { ALL_PACKAGES, PACKAGES } from "./lib/packages.mjs";
88

99
function log(msg = "") {
1010
process.stdout.write(`${msg}\n`);

0 commit comments

Comments
 (0)