Skip to content

Commit

Permalink
fix: Import now ignores MACOSX dir entries in the zip
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkoelle committed Nov 9, 2021
1 parent 8f021d4 commit e2ff914
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/importer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ export default class Importer {
const zipEntryDesc = zip.getEntries();
const configFiles = zipEntryDesc.filter(
(entry) =>
!entry.isDirectory && entry.entryName.match(parser.configFilePattern)
!entry.isDirectory &&
!entry.entryName.includes('MACOSX') &&
Path.basename(entry.entryName).match(parser.configFilePattern)
);
this.total = configFiles.length;

Expand Down

0 comments on commit e2ff914

Please sign in to comment.