fabien0102/git2json

View on GitHub

Showing 1 of 1 total issue

Function json has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

              let json = data.filter((a, i) => i % 2).map((raw, k) => {
                return Object.assign(
                  raw.split('\u0000').reduce((mem, field, j) => {
                    const value = fields[keys[j]].parser
                      ? fields[keys[j]].parser(field)
Severity: Minor
Found in src/git2json.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language