Incognito/one-time-secret

View on GitHub
src/templates/AuthorView.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function render has 60 lines of code (exceeds 25 allowed). Consider refactoring.
Invalid

export function render(url: string): string {
  const view = `
    <h2>Enter a secret</h2>
    <form action='${url}' method='POST'>
      <label for=secret>Secret</label>
Severity: Major
Found in src/templates/AuthorView.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status