From 05d44457085b2fbd8fdb0ab7e65a0125438dfde7 Mon Sep 17 00:00:00 2001 From: Kyle McNally Date: Mon, 18 Dec 2023 15:45:59 -0500 Subject: [PATCH] drop console logs --- source/helper.ts | 4 ---- source/index.ts | 2 -- 2 files changed, 6 deletions(-) diff --git a/source/helper.ts b/source/helper.ts index ed67330..cc03c92 100644 --- a/source/helper.ts +++ b/source/helper.ts @@ -29,14 +29,12 @@ export const isRunningInAwsLambda = () => { process.env["AWS_EXECUTION_ENV"].includes("AWS_Lambda_nodejs") && !process.env["AWS_EXECUTION_ENV"].includes("20.x") ) { - console.log("in aws"); return true; } else if ( process.env["AWS_LAMBDA_JS_RUNTIME"] && process.env["AWS_LAMBDA_JS_RUNTIME"].includes("nodejs") && !process.env["AWS_LAMBDA_JS_RUNTIME"].includes("20.x") ) { - console.log("in aws"); return true; } return false; @@ -47,13 +45,11 @@ export const isRunningInAwsLambdaNode20 = () => { process.env["AWS_EXECUTION_ENV"] && process.env["AWS_EXECUTION_ENV"].includes("20.x") ) { - console.log("in aws 20"); return true; } else if ( process.env["AWS_LAMBDA_JS_RUNTIME"] && process.env["AWS_LAMBDA_JS_RUNTIME"].includes("20.x") ) { - console.log("in aws 20"); return true; } return false; diff --git a/source/index.ts b/source/index.ts index a04143a..522cbbe 100644 --- a/source/index.ts +++ b/source/index.ts @@ -87,8 +87,6 @@ if (isRunningInAwsLambdaNode20()) { } } -console.log("LD", process.env["LD_LIBRARY_PATH"]); - class Chromium { /** * Determines the headless mode that chromium will run at