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