-
Notifications
You must be signed in to change notification settings - Fork 2
[chore]春のlint修正祭り〜API編〜 #1794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gm3/develop
Are you sure you want to change the base?
[chore]春のlint修正祭り〜API編〜 #1794
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 407 out of 407 changed files in this pull request and generated 2 comments.
if group.nil? | ||
next | ||
def output_sub_reps_csv | ||
if params[:fes_year_id].to_id.zero? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using 'to_id' for converting params to integer is likely a mistake if no such method exists. Consider replacing 'to_id' with 'to_i' to ensure proper integer conversion.
if params[:fes_year_id].to_id.zero? | |
if params[:fes_year_id].to_i.zero? |
Copilot uses AI. Check for mistakes.
end | ||
end | ||
if @employees.count.zero? | ||
render json: fmt(not_found, [], 'Not found empolees') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message contains a typo ('empolees' should be 'employees').
render json: fmt(not_found, [], 'Not found empolees') | |
render json: fmt(not_found, [], 'Not found employees') |
Copilot uses AI. Check for mistakes.
対応Issue
resolve #0
概要
実装詳細
画面スクリーンショット等
テスト項目
備考
コードを眺めた感じ、ぱっと見破壊的変更はなさそうだった
動かして確認してないから、大丈夫か確認して欲しい