Aam-Digital/ndb-core

View on GitHub
src/app/features/file/file-utils.ts

Summary

Maintainability
A
1 hr
Test Coverage
B
85%

Function resizeImage has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function resizeImage(
  file: File,
  maxSize = 360,
): Promise<HTMLCanvasElement> {
  const image = new Image();
Severity: Minor
Found in src/app/features/file/file-utils.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status