jameswlane/status-board

View on GitHub
src/global-auth.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function globalAuth has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function globalAuth(file: string) {
  let auth = {};

  try {
    auth = JSON.parse(fs.readFileSync(file).toString());
Severity: Minor
Found in src/global-auth.ts - About 1 hr to fix

There are no issues that match your filters.

Category
Status