Add warning banners to legacy services (#2546)

This commit is contained in:
Paul Melnikow
2018-12-18 15:52:17 -05:00
committed by chris48s
parent 7d30d86f2b
commit b36a9040f3
90 changed files with 553 additions and 2 deletions

View File

@@ -11,6 +11,12 @@ const {
checkErrorResponse: githubCheckErrorResponse,
} = require('./github-helpers')
// This legacy service should be rewritten to use e.g. BaseJsonService.
//
// Tips for rewriting:
// https://github.com/badges/shields/blob/master/doc/rewriting-services.md
//
// Do not base new services on this code.
module.exports = class GithubCommitActivity extends LegacyService {
static get category() {
return 'activity'