Skip to content

Commit d86ad41

Browse files
committed
🐛 fix(app): 修复模块导入
1 parent e8f25eb commit d86ad41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/command/script.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import path from "node:path";
22

33
import type { CAC } from "cac";
44
import enquirer from "enquirer";
5-
import { readJsonSync } from "fs-extra";
5+
import fsExtra from "fs-extra";
66

77
import { generateScripts } from "@/helper";
88
import { execCommand } from "@/helper";
99
import { CommandOptions } from "@/types";
1010

1111
export async function scriptRun() {
12-
const { scripts } = readJsonSync(
12+
const { scripts } = fsExtra.readJsonSync(
1313
path.join(process.cwd(), "scripts.config.json"),
1414
);
1515

0 commit comments

Comments
 (0)