johnjones4/InBrief

View on GitHub
src/lib/services/Calendar.js

Summary

Maintainability
A
1 hr
Test Coverage

Function exec has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  exec () {
    const now = new Date()
    const thisMorning = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 0, 0, 0, 0)
    const tonight = new Date(now.getFullYear(), now.getMonth(), now.getDate(), 23, 59, 59, 999)
    const dates = {
Severity: Minor
Found in src/lib/services/Calendar.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status