Chocobozzz/PeerTube

View on GitHub
server/core/lib/local-actor.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function updateLocalActorImageFiles has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export async function updateLocalActorImageFiles (options: {
  accountOrChannel: MAccountDefault | MChannelDefault
  imagePhysicalFile: { path: string }
  type: ActorImageType_Type
  sendActorUpdate: boolean
Severity: Minor
Found in server/core/lib/local-actor.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status