Chocobozzz/PeerTube

View on GitHub
server/core/lib/local-video-creator.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function create has 98 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async create () {
    this.video = new VideoModel(
      await Hooks.wrapObject(this.buildVideo(this.videoAttributes, this.channel), this.videoAttributeResultHook)
    ) as MVideoFullLight

Severity: Major
Found in server/core/lib/local-video-creator.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status