From ad6c9b0d8d8770c72adec5b9a5828b48f33cd996 Mon Sep 17 00:00:00 2001 From: Jarian Cottingham Date: Sat, 21 Feb 2026 15:59:15 -0600 Subject: [PATCH] Fix duplicate path declaration properly --- main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.js b/main.js index 98cc9a6..47655a2 100644 --- a/main.js +++ b/main.js @@ -120,9 +120,8 @@ ipcMain.handle('rename-file', async (event, { oldPath, newName }) => { // Create log file for debugging const fs = require('fs'); -const path = require('path'); -const logFilePath = path.join(__dirname, 'file-move-debug.log'); +const logFilePath = __dirname + '/file-move-debug.log'; function writeLog(message) { const timestamp = new Date().toISOString(); const logEntry = `[${timestamp}] ${message}\n`;