Replace github-linguist gem with Node port Nixinova/Linguist (#436)
This commit is contained in:
@@ -100,7 +100,7 @@ export default async function({login, data, rest, imports, q, account}, {enabled
|
||||
if (charts) {
|
||||
//Check if linguist exists
|
||||
console.debug(`metrics/compute/${login}/plugins > habits > searching recently used languages using linguist`)
|
||||
if ((patches.length) && (await imports.which("github-linguist"))) {
|
||||
if (patches.length) {
|
||||
//Call language analyzer (note: using content from other plugin is usually disallowed, this is mostly for legacy purposes)
|
||||
habits.linguist.available = true
|
||||
const {total, stats} = await recent_analyzer({login, data, imports, rest, account}, {days, load:from || 1000, tempdir:"habits"})
|
||||
|
||||
Reference in New Issue
Block a user