anc95 / ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT
https://github.com/apps/cr-gpt
ISC License
3.77k stars 360 forks source link

Misleading logs encountered #129

Closed ificiana closed 10 months ago

ificiana commented 10 months ago

Suggestion: something like "no changes found" seems more helpful https://github.com/anc95/ChatGPT-CodeReview/blob/main/src/bot.ts#L107C1-L110C8

      if (!changedFiles?.length) {
        console.log('no target label attached');
        return 'no change';
      }
anc95 commented 10 months ago

Thanks. just fixed in newest release.

ificiana commented 10 months ago

@anc95 No problem! 🙂