Skip to content

Commit d938163

Browse files
committed
🎨style(core): 格式化
1 parent 1e14fc0 commit d938163

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/command/git-commit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ interface GitCommitOptions {
1616
export const gitCommit = async (
1717
types: Array<CommitType>,
1818
scopes: Array<CommitScope>,
19-
options: GitCommitOptions
19+
options: GitCommitOptions,
2020
) => {
2121
if (ACTIVATION) {
2222
loggerInfo("gitCommit 参数信息: \n");

src/shared/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { ACTIVATION } from "@/shared/config";
1212
export const execCommand = async (
1313
cmd: string,
1414
args: string[],
15-
options?: Options
15+
options?: Options,
1616
) => {
1717
try {
1818
const res = await execa(cmd, args, options);
@@ -86,7 +86,7 @@ export const printError = (content: string | unknown) => {
8686
*/
8787
export function getFiilesBySuffixes(
8888
fileList: string[],
89-
suffixes: string[]
89+
suffixes: string[],
9090
): string[] {
9191
const paths: string[] = [];
9292

@@ -147,7 +147,7 @@ export const getEveryFilesBySuffixes = async (
147147
cwd: string,
148148
staged: boolean,
149149
paths: string[],
150-
suffix: string[]
150+
suffix: string[],
151151
) => {
152152
let files: string[] = [];
153153
if (staged) {

0 commit comments

Comments
 (0)