source/io/formatA/merge.ts
Function smartStripRemovedAssets
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function smartStripRemovedAssets(history: History): History {
const deletedEntries: Set<string> = new Set([]);
const deletedGroups: Set<string> = new Set([]);
return history.filter((line) => {
const [command, ...args] = line.split(/\s/g);
Avoid too many return
statements within this function. Open
Open
return true;