The correction of how the 'error_count' is calculated in 'flags['update_logs']'.
What this PR does
This PR resolves the bug from issue #5580. This PR fixes the bug; now the 'error_count' in 'flags['update_logs']' contains the total error count instead of accumulated errors.
Screenshots
Before:
After:
CI is failing due to ruby linting. Please fix that running rubocop locally.
CI is failing due to ruby linting. Please fix that running
rubocoplocally.
I fixed the files that were causing problems , but the error is still appearing in this file: spec/features/article_viewer_spec.rb:24:101: C: Layout/LineLength: Line is too long. [118/100]. But I didn't change this file and locally when I ran rubocop no errors appeared.
You still have to revert some unwanted changes, such as removing a line in app/services/update_course_stats.rb. Please check all the "files changed" and revert all the changes that are not meaningful for this pull request.
You still have to revert some unwanted changes, such as removing a line in a
pp/services/update_course_stats.rb. Please check all the "files changed" and revert all the changes that are not meaningful for this pull request.
I did this. Now it's correct?