Skip to content

Commit 993c103

Browse files
committed
chore: early continue
1 parent 2fcf778 commit 993c103

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

scripts/ci/codegen/spreadGeneration.ts

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,18 @@ async function spreadGeneration(): Promise<void> {
6868
console.log(
6969
`❎ Skipping ${lang} repository, because there is no change.`
7070
);
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;
8172
}
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.`);
8283
}
8384
}
8485

0 commit comments

Comments
 (0)