@jtff/miztemplate-lib 2.1.2 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -307,7 +307,9 @@ class MizTemplateCI{
307
307
  const folderArray = fs.readdirSync('resources/sounds');
308
308
  for (const folder of folderArray) {
309
309
  // if(zip.folder(new RegExp(folder)).length > 0 ) {
310
- await this.mizUpdateSingleSoundFolder(zip, folder);
310
+ if (fs.lstatSync(folder).isDirectory()) {
311
+ await this.mizUpdateSingleSoundFolder(zip, folder);
312
+ }
311
313
  // }
312
314
  }
313
315
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "2.1.2",
3
+ "version": "2.1.4",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [