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 39ceed6 commit afa0367Copy full SHA for afa0367
scripts/lint-script.ts
@@ -1,14 +1,16 @@
1
import { eslintFix } from "@/command/eslint-fix";
2
import { prettierFormat } from "@/command/prettier-format";
3
-import { execCommand, loggerWarring } from "@/shared";
+import { execCommand, printError } from "@/shared";
4
5
async function lint() {
6
try {
7
await prettierFormat(["./src/", "./scripts/"]);
8
- await execCommand("git", ["add", "."]);
+ await execCommand("git", ["add", "."], {
9
+ stdio: "inherit",
10
+ });
11
await eslintFix(["./src/", "./scripts/"]);
12
} catch (error) {
- loggerWarring(error);
13
+ printError(error);
14
}
15
16
0 commit comments