Fix duplicate variable declaration in main.js

This commit is contained in:
Jarian Cottingham 2026-02-21 15:58:48 -06:00
parent ce07fdbb74
commit 937200bf79

View File

@ -135,8 +135,7 @@ ipcMain.handle('move-file-to-folder', async (event, { filePath, folderName }) =>
try {
writeLog(`Move file request received: ${filePath} to ${folderName}`);
const fs = require('fs');
const path = require('path');
// Note: fs and path are already required at the top level
// Check if file exists
if (!fs.existsSync(filePath)) {