From f18827ef03774abdafab12805a102a11be478049 Mon Sep 17 00:00:00 2001 From: Ansgar Mertens Date: Thu, 28 Sep 2023 15:09:57 +0200 Subject: [PATCH] chore: remove old console logs --- packages/@cdktf/commons/src/debug.ts | 2 -- packages/@cdktf/commons/src/util.ts | 4 ---- 2 files changed, 6 deletions(-) diff --git a/packages/@cdktf/commons/src/debug.ts b/packages/@cdktf/commons/src/debug.ts index 11aa37505d..1f12f3d73c 100644 --- a/packages/@cdktf/commons/src/debug.ts +++ b/packages/@cdktf/commons/src/debug.ts @@ -391,9 +391,7 @@ export async function collectDebugInformation() { switch (language) { case "python": { - console.log("about to get python version") const python = getPythonVersion(); - console.log("got python version") const pip = getPipVersion(); const pipenv = getPipenvVersion(); debugOutput["python"] = (await python) ?? null; diff --git a/packages/@cdktf/commons/src/util.ts b/packages/@cdktf/commons/src/util.ts index 7825b8e6d6..95b13bf26d 100644 --- a/packages/@cdktf/commons/src/util.ts +++ b/packages/@cdktf/commons/src/util.ts @@ -90,10 +90,6 @@ export const exec = async ( ): Promise => { // if options.noColor is not set, checking the flags & environment if it should be set // This is required for collectDebugInformation() which does not have knowledge about flags - if (typeof options.noColor !== "boolean") { - console.log("no nocolor set", "setting it to", hasNoColorFlagOrEnv(), "args", process.argv); - } - if (typeof options.noColor !== "boolean" && hasNoColorFlagOrEnv()) { options.noColor = true; }