We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f25eb commit d86ad41Copy full SHA for d86ad41
src/command/script.ts
@@ -2,14 +2,14 @@ import path from "node:path";
2
3
import type { CAC } from "cac";
4
import enquirer from "enquirer";
5
-import { readJsonSync } from "fs-extra";
+import fsExtra from "fs-extra";
6
7
import { generateScripts } from "@/helper";
8
import { execCommand } from "@/helper";
9
import { CommandOptions } from "@/types";
10
11
export async function scriptRun() {
12
- const { scripts } = readJsonSync(
+ const { scripts } = fsExtra.readJsonSync(
13
path.join(process.cwd(), "scripts.config.json"),
14
);
15
0 commit comments