Skip to content

Commit

Permalink
chore: remove old console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ansgarm committed Sep 28, 2023
1 parent d8f4355 commit 28368d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions packages/@cdktf/commons/src/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions packages/@cdktf/commons/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,6 @@ export const exec = async (
): Promise<string> => {
// 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;
}
Expand Down

0 comments on commit 28368d7

Please sign in to comment.