Implement error logging in update_average_pageviews method in UpdateCourseStats #6023
Annotations
12 warnings
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, paambaati/codeclimate-action@v3.0.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3, paambaati/codeclimate-action@v3.0.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
JavaScript test suite:
app/assets/javascripts/components/common/ArticleViewer/components/TitleOpener.jsx#L7
Use I18n over string literals for localization: <p id="icon-article-viewer-desc">Open Article Viewer</p>
|
JavaScript test suite:
app/assets/javascripts/components/common/AssignmentLinks/AllPeerReviewLinks.jsx#L10
Use I18n over string literals for localization: <span key="title">Reviews: </span>
|
JavaScript test suite:
app/assets/javascripts/components/common/enroll_button.jsx#L132
Use I18n over string literals for localization: <a href={massEnrollmentUrl}>Add multiple users at once.</a>
|
JavaScript test suite:
app/assets/javascripts/components/common/final_article_checklist.jsx#L41
Use I18n over string literals for localization: <button onClick={hide} className="button dark small">Okay</button>
|
JavaScript test suite:
app/assets/javascripts/components/common/final_article_checklist.jsx#L43
Use I18n over string literals for localization: <a onClick={show} className="button dark small">Quality checklist</a>
|
JavaScript test suite:
app/assets/javascripts/components/common/final_article_checklist.jsx#L52
Use I18n over string literals for localization: <h2>Final review checklist</h2>
|
JavaScript test suite:
app/assets/javascripts/components/common/get_help_button.jsx#L114
Use I18n over string literals for localization: <a href="#" className="wikipedia-help-link button dark small stacked" onClick={e => this.updateTargetUser(wikipediaHelpUser, e)}>question about editing Wikipedia</a>
|
JavaScript test suite:
app/assets/javascripts/components/common/get_help_button.jsx#L124
Use I18n over string literals for localization: <a href="#" className="program-help-link button dark stacked small" onClick={e => this.updateTargetUser(programHelpUser, e)}>question about Wiki Ed or your assignment</a>
|
JavaScript test suite:
app/assets/javascripts/components/common/get_help_button.jsx#L134
Use I18n over string literals for localization: <a href="#" className="dashboard-help-link button dark stacked small" onClick={e => this.updateTargetUser(dashboardHelpUser, e)}>question about the dashboard</a>
|
JavaScript test suite:
app/assets/javascripts/components/common/mainspace_checklist.jsx#L20
Use I18n over string literals for localization: <button onClick={hide} className="button dark small">Okay</button>
|
Loading