diff --git a/CHANGELOG.md b/CHANGELOG.md index b8c828fbc..2448a6acd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to SODA will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v15.2.1 - 2024-10-01 + +## Feature Additions: + +- Removed the ability to import empty folders and files into SODA. + +## Bug Fixes: + +- Fixed an issue preventing users with pre-2.0 Pennsieve agent versions from being able to update. + ## v15.2.0 - 2024-08-21 ## Feature Additions: diff --git a/src/renderer/src/scripts/others/renderer.js b/src/renderer/src/scripts/others/renderer.js index eb4784757..83fdb92fd 100644 --- a/src/renderer/src/scripts/others/renderer.js +++ b/src/renderer/src/scripts/others/renderer.js @@ -4242,7 +4242,6 @@ const localFolderPathAndSubFoldersHaveNoFiles = (localFolderPath) => { if (statsObj.isFile) { // If a file with size > 0 is found, the folder is not considered empty if (window.fs.fileSizeSync(itemPath) > 0) { - console.log("File is not empty"); return false; // Found a non-empty file } } @@ -4259,7 +4258,7 @@ const localFolderPathAndSubFoldersHaveNoFiles = (localFolderPath) => { // If no files with size > 0 are found, the folder is considered empty return true; } catch (error) { - console.error(`Error reading folder: ${error.message}`); + window.log.error(`Error reading folder: ${error.message}`); return false; // Return false on error as we couldn't verify the folder } };