@jtff/miztemplate-lib 3.0.0-rc22 → 3.0.0-rc23

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.
Files changed (2) hide show
  1. package/lib/mizlib.js +1 -4
  2. package/package.json +1 -1
package/lib/mizlib.js CHANGED
@@ -317,10 +317,7 @@ class Mizlib {
317
317
 
318
318
  async injectSoundFoldersIntoZipObject(zip) {
319
319
  if (fs.existsSync('resources/sounds') && fs.lstatSync('resources/sounds').isDirectory()) {
320
- const folderArray = fs.readdirSync('resources/sounds');
321
- for (const folder of folderArray) {
322
- await this.injectSingleSoundFolderIntoZipObject(zip, '.', folder, false);
323
- }
320
+ await this.injectSingleSoundFolderIntoZipObject(zip, '.', 'resources/sounds', false);
324
321
  }
325
322
  if (fs.existsSync('.workspace/resources/sounds') && fs.lstatSync('.workspace/resources/sounds').isDirectory()) {
326
323
  const folderArray = fs.readdirSync('.workspace/resources/sounds');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jtff/miztemplate-lib",
3
- "version": "3.0.0-rc22",
3
+ "version": "3.0.0-rc23",
4
4
  "description": "JTFF mission template library",
5
5
  "main": "index.js",
6
6
  "files": [