Fix duplicate variable declaration in main.js

This commit is contained in:
Jarian Cottingham 2026-02-21 15:58:48 -06:00
parent 5b3f72e7ee
commit 37d90ab836

View File

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