private-dreamnet/dreamtime

View on GitHub
src/workers/fs/worker.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getMetadata has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function getMetadata(filepath) {
  const exists = existsSync(filepath)

  const workload = [
    Promise.resolve(mime.lookup(filepath)),
Severity: Minor
Found in src/workers/fs/worker.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status