Skip to content

Commit

Permalink
chore(ci): add successful log to spreadGeneration (#370)
Browse files Browse the repository at this point in the history
* chore(ci): add successful log to spreadGeneration

* chore: update log
  • Loading branch information
eunjae-lee authored Apr 12, 2022
1 parent 431b986 commit 0edc896
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/ci/codegen/spreadGeneration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ async function spreadGeneration(): Promise<void> {
cwd: tempGitDir,
})) === 0
) {
console.log(`Skipping ${lang} repository, because there is no change.`);
console.log(
`❎ Skipping ${lang} repository, because there is no change.`
);
return;
}

Expand All @@ -77,6 +79,7 @@ async function spreadGeneration(): Promise<void> {
cwd: tempGitDir,
});
await run(`git push`, { cwd: tempGitDir });
console.log(`✅ Spread the generation to ${lang} repository.`);
}
}

Expand Down

0 comments on commit 0edc896

Please sign in to comment.