Fix duplicate path declaration properly

This commit is contained in:
Jarian Cottingham 2026-02-21 15:59:15 -06:00
parent 37d90ab836
commit 7813490a72

View File

@ -120,9 +120,8 @@ ipcMain.handle('rename-file', async (event, { oldPath, newName }) => {
// Create log file for debugging // Create log file for debugging
const fs = require('fs'); 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) { function writeLog(message) {
const timestamp = new Date().toISOString(); const timestamp = new Date().toISOString();
const logEntry = `[${timestamp}] ${message}\n`; const logEntry = `[${timestamp}] ${message}\n`;