diff --git a/services/github/github-commit-activity.service.js b/services/github/github-commit-activity.service.js index 2c2bef12fcb80..9574cde1d579f 100644 --- a/services/github/github-commit-activity.service.js +++ b/services/github/github-commit-activity.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { metric } = require('../../lib/text-formatters') const { documentation, diff --git a/services/github/github-commits-since.service.js b/services/github/github-commits-since.service.js index 1f064a2ab0ff6..923bd8cdfa41e 100644 --- a/services/github/github-commits-since.service.js +++ b/services/github/github-commits-since.service.js @@ -4,8 +4,8 @@ const LegacyService = require('../legacy-service') const { makeBadgeData: getBadgeData, makeLabel: getLabel, - makeLogo: getLogo, } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation } = require('./github-helpers') const keywords = ['GitHub', 'commit'] diff --git a/services/github/github-downloads.service.js b/services/github/github-downloads.service.js index f619ddaa5ea0d..6eea815f874b9 100644 --- a/services/github/github-downloads.service.js +++ b/services/github/github-downloads.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { metric } = require('../../lib/text-formatters') const { documentation, diff --git a/services/github/github-followers.service.js b/services/github/github-followers.service.js index 90bc10181f5d7..306d022656fa1 100644 --- a/services/github/github-followers.service.js +++ b/services/github/github-followers.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation, checkErrorResponse: githubCheckErrorResponse, diff --git a/services/github/github-forks.service.js b/services/github/github-forks.service.js index e063189aecd33..2993b8d3fc65b 100644 --- a/services/github/github-forks.service.js +++ b/services/github/github-forks.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation, checkErrorResponse: githubCheckErrorResponse, diff --git a/services/github/github-issue-detail.service.js b/services/github/github-issue-detail.service.js index d80eb7fc090b7..355defbea79ac 100644 --- a/services/github/github-issue-detail.service.js +++ b/services/github/github-issue-detail.service.js @@ -4,8 +4,8 @@ const LegacyService = require('../legacy-service') const { makeLabel: getLabel, makeBadgeData: getBadgeData, - makeLogo: getLogo, } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { formatDate } = require('../../lib/text-formatters') const { age: ageColor } = require('../../lib/color-formatters') const { diff --git a/services/github/github-issues.service.js b/services/github/github-issues.service.js index c4f660f2fdfc3..0c4ca95e61731 100644 --- a/services/github/github-issues.service.js +++ b/services/github/github-issues.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { metric } = require('../../lib/text-formatters') const { documentation, diff --git a/services/github/github-languages.service.js b/services/github/github-languages.service.js index d52a99d4f4903..0f92a52d7f752 100644 --- a/services/github/github-languages.service.js +++ b/services/github/github-languages.service.js @@ -4,9 +4,9 @@ const prettyBytes = require('pretty-bytes') const LegacyService = require('../legacy-service') const { makeBadgeData: getBadgeData, - makeLogo: getLogo, makeLabel: getLabel, } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation, checkErrorResponse: githubCheckErrorResponse, diff --git a/services/github/github-last-commit.service.js b/services/github/github-last-commit.service.js index 9627631ecf6db..a72dd102c6ae9 100644 --- a/services/github/github-last-commit.service.js +++ b/services/github/github-last-commit.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { formatDate } = require('../../lib/text-formatters') const { age: ageColor } = require('../../lib/color-formatters') const { diff --git a/services/github/github-license.service.js b/services/github/github-license.service.js index 7e3ca82c14904..f896f9dc671a3 100644 --- a/services/github/github-license.service.js +++ b/services/github/github-license.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { licenseToColor } = require('../../lib/licenses') const { documentation, diff --git a/services/github/github-release-date.service.js b/services/github/github-release-date.service.js index 25847071f3e17..9a43b6f09dbe2 100644 --- a/services/github/github-release-date.service.js +++ b/services/github/github-release-date.service.js @@ -2,10 +2,8 @@ const moment = require('moment') const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { formatDate } = require('../../lib/text-formatters') const { age } = require('../../lib/color-formatters') const { documentation } = require('./github-helpers') diff --git a/services/github/github-release.service.js b/services/github/github-release.service.js index b18d59edc00ca..8f6b177cc11cc 100644 --- a/services/github/github-release.service.js +++ b/services/github/github-release.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { addv: versionText } = require('../../lib/text-formatters') const { documentation, diff --git a/services/github/github-repo-size.service.js b/services/github/github-repo-size.service.js index 57e973dabe17a..868e047d7a9ad 100644 --- a/services/github/github-repo-size.service.js +++ b/services/github/github-repo-size.service.js @@ -2,10 +2,8 @@ const prettyBytes = require('pretty-bytes') const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation, checkErrorResponse: githubCheckErrorResponse, diff --git a/services/github/github-size.service.js b/services/github/github-size.service.js index d25fa5df0ed2e..7a27473bf8c62 100644 --- a/services/github/github-size.service.js +++ b/services/github/github-size.service.js @@ -2,10 +2,8 @@ const prettyBytes = require('pretty-bytes') const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation, checkErrorResponse: githubCheckErrorResponse, diff --git a/services/github/github-stars.service.js b/services/github/github-stars.service.js index 8daaf2e1259da..8601538cb83a1 100644 --- a/services/github/github-stars.service.js +++ b/services/github/github-stars.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { metric } = require('../../lib/text-formatters') const { documentation, diff --git a/services/github/github-tag.service.js b/services/github/github-tag.service.js index 40d6e2487d407..4401933387c7f 100644 --- a/services/github/github-tag.service.js +++ b/services/github/github-tag.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { addv: versionText } = require('../../lib/text-formatters') const { version: versionColor } = require('../../lib/color-formatters') const { latest: latestVersion } = require('../../lib/version') diff --git a/services/github/github-watchers.service.js b/services/github/github-watchers.service.js index 52cee07e552f6..ddfa51e180602 100644 --- a/services/github/github-watchers.service.js +++ b/services/github/github-watchers.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { documentation, checkErrorResponse: githubCheckErrorResponse, diff --git a/services/liberapay/liberapay.service.js b/services/liberapay/liberapay.service.js index cf6fbc2d30ee5..96c19e43f8d32 100644 --- a/services/liberapay/liberapay.service.js +++ b/services/liberapay/liberapay.service.js @@ -3,7 +3,7 @@ const LegacyService = require('../legacy-service') const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') const { metric } = require('../../lib/text-formatters') -const { makeLogo: getLogo } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { colorScale } = require('../../lib/color-formatters') // This legacy service should be rewritten to use e.g. BaseJsonService. diff --git a/services/twitter/twitter.service.js b/services/twitter/twitter.service.js index 0ddcfe54f6bb0..67f23793fffd0 100644 --- a/services/twitter/twitter.service.js +++ b/services/twitter/twitter.service.js @@ -1,10 +1,8 @@ 'use strict' const LegacyService = require('../legacy-service') -const { - makeBadgeData: getBadgeData, - makeLogo: getLogo, -} = require('../../lib/badge-data') +const { makeBadgeData: getBadgeData } = require('../../lib/badge-data') +const { makeLogo: getLogo } = require('../../lib/logos') const { metric } = require('../../lib/text-formatters') // This legacy service should be rewritten to use e.g. BaseJsonService.