kt-forpro-tools 1.0.17 → 1.0.18

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kt-forpro-tools",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "author": "Miguel de Mendoza",
6
6
  "main": "src/index.ts",
@@ -12,10 +12,10 @@ describe("KtForproTools Tests", () => {
12
12
  // KT_ForproTools.utils.cleanNamePrecomp();
13
13
  // KT_ForproTools.utils.sendCleanupToMediaEncoder(["esp", "cat"]);
14
14
  // KT_ForproTools.utils.sendLanguagesToMediaEncoder();
15
- // KT_ForproTools.utils.sendCleanupToMediaEncoder();
15
+ KT_ForproTools.utils.sendCleanupToMediaEncoder();
16
16
  // KT_ForproTools.utils.autoPrecompAndKeyOut();
17
17
  // KT_ForproTools.utils.copyMarkersToComp(app.project.activeItem as CompItem);
18
- KT_ForproTools.utils.copyMasksFromMasterToLayer();
18
+ // KT_ForproTools.utils.copyMasksFromMasterToLayer();
19
19
  // const folder = Folder.selectDialog("Select a folder with language subfolders");
20
20
  // $.writeln("Selected folder: " + folder?.fsName);
21
21
  // KT_ForproTools.utils.precompAndKeyOut("cat");
package/src/utils.ts CHANGED
@@ -198,16 +198,11 @@ class __KT_FP_Utils {
198
198
  }
199
199
  for (const lang in items) {
200
200
  const langPath = IO.path.join(outputPath.fsName, lang);
201
- const folderCreated = IO.fs.createDirectory(langPath);
202
- const rqItems = KT_Project.render.sendToAME({
201
+ KT_Project.render.sendToAME({
203
202
  comps: items[lang],
204
203
  path: langPath,
205
204
  });
206
- if (rqItems && rqItems.length > 0) {
207
- allRQItems.push(...rqItems);
208
- }
209
205
  }
210
- return allRQItems;
211
206
  };
212
207
  }
213
208