From 6809bb742e974e65967799f390c7238564614f79 Mon Sep 17 00:00:00 2001 From: Max Kless Date: Wed, 3 Apr 2024 12:44:31 +0200 Subject: [PATCH] cleanup(core): remove console.logs --- packages/nx/src/native/import.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/nx/src/native/import.js b/packages/nx/src/native/import.js index bbb33352a5d232..44031bf597a5bd 100644 --- a/packages/nx/src/native/import.js +++ b/packages/nx/src/native/import.js @@ -54,14 +54,12 @@ Module._load = function (request, parent, isMain) { .digest('hex'); const tmpFile = join(nativeFileCacheLocation, hash + '-' + fileName); if (existsSync(tmpFile)) { - console.log('file already exists @', tmpFile); return originalLoad.apply(this, [tmpFile, parent, isMain]); } if (!existsSync(nativeFileCacheLocation)) { mkdirSync(nativeFileCacheLocation, { recursive: true }); } copyFileSync(nativeLocation, tmpFile); - console.log('copied sucessfully, loading from', tmpFile); return originalLoad.apply(this, [tmpFile, parent, isMain]); } else { return originalLoad.apply(this, arguments);