diff --git a/src/cdp-proxy/debuggerEndpointHelper.ts b/src/cdp-proxy/debuggerEndpointHelper.ts index 0d46159c7..61bcd2263 100644 --- a/src/cdp-proxy/debuggerEndpointHelper.ts +++ b/src/cdp-proxy/debuggerEndpointHelper.ts @@ -122,7 +122,7 @@ export class DebuggerEndpointHelper { const requestOptions: https.RequestOptions = {}; if (isSecure && targetAddressIsLoopback) { - requestOptions.rejectUnauthorized = false; + requestOptions.rejectUnauthorized = false; // lgtm [js/disabling-certificate-validation] } const request = driver.get(url, requestOptions, response => { diff --git a/tools/gulp-extras.js b/tools/gulp-extras.js index 3c9407bfe..f22b27ff7 100644 --- a/tools/gulp-extras.js +++ b/tools/gulp-extras.js @@ -17,7 +17,7 @@ const through = require("through2"); * @param {string} message The error message to display */ function logError(pluginName, file, message) { - const sourcePath = path.relative(__dirname, file.path).replace("../", ""); + const sourcePath = path.relative(__dirname, file.path).replace("../", ""); // lgtm [js/incomplete-sanitization] log(`[${colors.cyan(pluginName)}] ${colors.red("error")} ${sourcePath}: ${message}`); }