Skip to content

Commit

Permalink
fix(metadata): fix issue that may occurs on macOs when data where mov…
Browse files Browse the repository at this point in the history
…ed from windows
  • Loading branch information
FlorentinTh committed Aug 10, 2023
1 parent c4d4ca0 commit ba7d458
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scripts/app/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export class Metadata {
throw new Error(error);
}

folders = folders.filter(item => item.toUpperCase() !== '.DS_STORE');
folders = new Set(folders.map(element => element.toLowerCase()));

for (const folder of folders) {
Expand Down

0 comments on commit ba7d458

Please sign in to comment.