a11smiles / GitSync

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