storipress/karbon

View on GitHub
packages/karbon/src/cli/karbon.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function compress has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function compress() {
  await fs.remove(siteTemplateName)

  const files = await globby(
    [
Severity: Minor
Found in packages/karbon/src/cli/karbon.ts - About 1 hr to fix

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

    async function runBundle() {
      const argv = parseArgv(process.argv.slice(2), {
        alias: {
          packOnly: 'pack-only',
        },
    Severity: Minor
    Found in packages/karbon/src/cli/karbon.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status