From 272790ab00762dfc9139b7fe7d599514ae2d674a Mon Sep 17 00:00:00 2001 From: Kerboul Date: Tue, 14 Jan 2025 15:55:41 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20logs=20pour=20la=20cr=C3=A9ation?= =?UTF-8?q?=20de=20r=C3=A9pertoires=20dans=20createProjectDirectory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/fileUtils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/fileUtils.js b/utils/fileUtils.js index 77a9e82..e1d7b7c 100644 --- a/utils/fileUtils.js +++ b/utils/fileUtils.js @@ -8,6 +8,7 @@ const path = require('path'); */ function createProjectDirectory(projectId) { const projectDir = path.join(__dirname, `storage/${projectId}`); + console.log(`Creating directory: ${projectDir}`); if (!fs.existsSync(projectDir)) { fs.mkdirSync(projectDir, { recursive: true }); console.log(`Directory created: ${projectDir}`);