Chocobozzz/PeerTube

View on GitHub
client/src/standalone/videos/shared/player-html.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function askVideoPassword has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async askVideoPassword (options: { incorrectPassword: boolean, translations: Translations }): Promise<string> {
    const { incorrectPassword, translations } = options
    return new Promise((resolve) => {

      this.wrapperElement.style.display = 'none'
Severity: Minor
Found in client/src/standalone/videos/shared/player-html.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status