File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ interface GitCommitOptions {
16
16
export const gitCommit = async (
17
17
types : Array < CommitType > ,
18
18
scopes : Array < CommitScope > ,
19
- options : GitCommitOptions
19
+ options : GitCommitOptions ,
20
20
) => {
21
21
if ( ACTIVATION ) {
22
22
loggerInfo ( "gitCommit 参数信息: \n" ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { ACTIVATION } from "@/shared/config";
12
12
export const execCommand = async (
13
13
cmd : string ,
14
14
args : string [ ] ,
15
- options ?: Options
15
+ options ?: Options ,
16
16
) => {
17
17
try {
18
18
const res = await execa ( cmd , args , options ) ;
@@ -86,7 +86,7 @@ export const printError = (content: string | unknown) => {
86
86
*/
87
87
export function getFiilesBySuffixes (
88
88
fileList : string [ ] ,
89
- suffixes : string [ ]
89
+ suffixes : string [ ] ,
90
90
) : string [ ] {
91
91
const paths : string [ ] = [ ] ;
92
92
@@ -147,7 +147,7 @@ export const getEveryFilesBySuffixes = async (
147
147
cwd : string ,
148
148
staged : boolean ,
149
149
paths : string [ ] ,
150
- suffix : string [ ]
150
+ suffix : string [ ] ,
151
151
) => {
152
152
let files : string [ ] = [ ] ;
153
153
if ( staged ) {
You can’t perform that action at this time.
0 commit comments