Add warning banners to legacy services (#2546)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user