a11smiles / GitSync

Avoid use of == and != JS-0050
Anti-pattern
Minor
2 months agoa year old
Expected '!==' and instead saw '!='
378            }
379        ];
380
381        if (config.closed_at != "") {382            patchDoc.push({
383            op: "add",
384            path: "/fields/System.History",
Expected '!==' and instead saw '!='
 72        if (!!config.ado_token && !!config.ado) { config.ado.token = config.ado_token; }
 73        if (!!config.github_token && !!config.github) { config.github.token = config.github_token; }
 74
 75        if (config.log_level != undefined) 76        {
 77            console.log(`Setting logLevel to ${config.log_level.toLowerCase()}...`); // skipcq JS-0002
 78            log.setLevel(config.log_level.toLowerCase(), true);