File tree 1 file changed +11
-10
lines changed 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -68,17 +68,18 @@ async function spreadGeneration(): Promise<void> {
68
68
console . log (
69
69
`❎ Skipping ${ lang } repository, because there is no change.`
70
70
) ;
71
- } else {
72
- await configureGitHubAuthor ( tempGitDir ) ;
73
- await run ( `git add .` , { cwd : tempGitDir } ) ;
74
- await gitCommit ( {
75
- message : commitMessage ,
76
- coauthor : { name, email } ,
77
- cwd : tempGitDir ,
78
- } ) ;
79
- await run ( `git push` , { cwd : tempGitDir } ) ;
80
- console . log ( `✅ Spread the generation to ${ lang } repository.` ) ;
71
+ continue ;
81
72
}
73
+
74
+ await configureGitHubAuthor ( tempGitDir ) ;
75
+ await run ( `git add .` , { cwd : tempGitDir } ) ;
76
+ await gitCommit ( {
77
+ message : commitMessage ,
78
+ coauthor : { name, email } ,
79
+ cwd : tempGitDir ,
80
+ } ) ;
81
+ await run ( `git push` , { cwd : tempGitDir } ) ;
82
+ console . log ( `✅ Spread the generation to ${ lang } repository.` ) ;
82
83
}
83
84
}
84
85
You can’t perform that action at this time.
0 commit comments