Tucker McKnight <tucker@pangolin.lan> | Sun Jan 11 2026
add todo
13 14 15 16 17 18
const languageCounts = branch.fileList.reduce((counts, currentFile) => {
const fileParts = currentFile.split(".")
const fileExtension = fileParts[fileParts.length - 1]
// todo: add more ignoreable extensions
if (fileExtension === 'gitignore') {
return counts
}13 14 15 16 17 18 19
const languageCounts = branch.fileList.reduce((counts, currentFile) => {
const fileParts = currentFile.split(".")
const fileExtension = fileParts[fileParts.length - 1]
// todo: add more ignoreable extensions or specific files
// (like package-lock.json). Allow glob patterns?
if (fileExtension === 'gitignore') {
return counts
}