LouisMazel/maz-ui

View on GitHub
changelog-generate.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function updateChangelog has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function updateChangelog() {
  // const { stdout: penultimateTag } = await execPromise("git tag --sort=-v:refname | sed -n '2p'")
  const { stdout: previousTag } = await execPromise("git tag --sort=-v:refname | sed -n '1p'")
  const previousTagTrimed = previousTag.trim()

Severity: Major
Found in changelog-generate.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status