From 1cc86fff11a2fd9466f8c630b786fba1148baa53 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Thu, 27 Jan 2022 10:15:46 -0500 Subject: [PATCH] Remove debugging console logs Signed-off-by: Sebastian Malton --- src/common/utils/wait-for-path.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/common/utils/wait-for-path.ts b/src/common/utils/wait-for-path.ts index 3b4ea80f70..b528d20e26 100644 --- a/src/common/utils/wait-for-path.ts +++ b/src/common/utils/wait-for-path.ts @@ -11,13 +11,10 @@ import path from "path"; * @param filePath The file path to wait until it exists */ export async function waitForPath(filePath: string): Promise { - console.log("waiting for", filePath); const dirOfPath = path.dirname(filePath); if (dirOfPath === filePath) { // The root of this filesystem, assume it exists - console.log("found", filePath); - return; } else { await waitForPath(dirOfPath); @@ -28,7 +25,6 @@ export async function waitForPath(filePath: string): Promise { depth: 0, }).on("all", (event, path) => { if ((event === "add" || event === "addDir") && path === filePath) { - console.log("found", filePath); resolve(); } });