Skip to content

Commit

Permalink
#0: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JoernBerkefeld committed Jun 29, 2024
1 parent 461199f commit 4218c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ class Mcdev {
if (!retrieveTypesArr.length) {
// assume no type was given and config settings are used instead:
// Clear output folder structure
File.removeSync(File.normalizePath([properties.directories.retrieve, cred, bu]));
await File.remove(File.normalizePath([properties.directories.retrieve, cred, bu]));
// removes subtypes and removes duplicates
retrieveTypesArr.push(
...new Set(properties.metaDataTypes.retrieve.map((type) => type.split('-')[0]))
Expand Down

0 comments on commit 4218c07

Please sign in to comment.