This repository was archived by the owner on Mar 6, 2024. It is now read-only.
Commit 955c447
authored
post review only when comments are there (#379)
<!-- This is an auto-generated comment: release notes by openai -->
### Summary by OpenAI
**Chore:**
- Added an early return in `submitReview` function of `src/commenter.ts`
when there are no review comments, improving efficiency by avoiding
unnecessary operations.
> 🎉 Here's to the code that's lean and mean,
> No more wasted cycles, it's a well-oiled machine. 🚀
> When comments are none, it knows what to shun,
> Celebrating small wins, this battle is won! 🏆
<!-- end of auto-generated comment: release notes by openai -->1 parent f1cf28d commit 955c447
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
229 | 232 | | |
230 | 233 | | |
231 | 234 | | |
| |||
0 commit comments