kgltimes/tell-me-about

View on GitHub

Showing 1 of 3 total issues

Function findDailyQuestion has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  findDailyQuestion(title: string, description: string): Promise<{ value: string, source: string, timeNow: Date }> {
    // return new Promise((rs, rj) => {
    // let body = JSON.stringify({ name });
    // let headers = new Headers({ 'Content-Type': 'text/html' });
    // let options = new RequestOptions({ headers: headers });
Severity: Minor
Found in src/knowledge.ts - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language