Skip to content

Commit

Permalink
wip: Update CHANGELOG for 15.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobiClark committed Oct 1, 2024
1 parent ebadaa7 commit abc8217
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions src/renderer/src/scripts/others/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand All @@ -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
}
};
Expand Down

0 comments on commit abc8217

Please sign in to comment.