src/adapter/GitAdapter.ts
File GitAdapter.ts
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Invalid
Invalid
import fs from 'fs'
import { join } from 'path'
import { readFile } from 'fs-extra'
import git, { TREE, WalkerEntry, WalkerIterateCallback } from 'isomorphic-git'
Function diffLineWalker
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
export const diffLineWalker = (config: Config) => {
const shouldSkip = evaluateShouldSkip(config.source)
return async (filepath: string, trees: (WalkerEntry | null)[]) => {
if (await shouldSkip(filepath, trees)) {