Skip to content

Commit 94037a4

Browse files
committed
🚧build(build): 优化构建流程
1 parent 41b5ad1 commit 94037a4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/lint-script.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { eslintFix } from "./../src/command/eslint-fix";
2-
import { execCommand, loggerWarring } from "../src/shared";
32
import { prettierFormat } from "../src/command/prettier-format";
3+
import { loggerWarring } from "../src/shared";
44

55
async function lint() {
66
try {
77
await prettierFormat(["./src/", "./scripts/"]);
88
await eslintFix(["./src/", "./scripts/"]);
9-
await execCommand("git", ["add", "."]);
109
} catch (error) {
1110
loggerWarring(error);
1211
}

0 commit comments

Comments
 (0)