verteilen-core 1.3.34 → 1.3.35

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.
@@ -10,7 +10,7 @@ const GetCurrentPlugin = async (loader) => {
10
10
  if (!loader.exists(root))
11
11
  await loader.mkdir(root);
12
12
  const plugin_folder = await loader.read_dir_dir(root);
13
- const plugin_folder_files = await Promise.all(plugin_folder.map(x => loader.read_dir_file(x)));
13
+ const plugin_folder_files = await Promise.all(plugin_folder.map(x => loader.read_dir_file(loader.join(root, x))));
14
14
  for (let i = 0; i < plugin_folder_files.length; i++) {
15
15
  const files = plugin_folder_files[i];
16
16
  const dirname = plugin_folder[i];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verteilen-core",
3
- "version": "1.3.34",
3
+ "version": "1.3.35",
4
4
  "license": "MIT",
5
5
  "homepage": "https://verteilen.github.io/wiki/",
6
6
  "author": "Elly",
@@ -90,7 +90,7 @@ export const GetCurrentPlugin = async (loader:RecordIOBase):Promise<PluginPageDa
90
90
  if(!loader.exists(root)) await loader.mkdir(root)
91
91
 
92
92
  const plugin_folder = await loader.read_dir_dir(root)
93
- const plugin_folder_files = await Promise.all(plugin_folder.map(x => loader.read_dir_file(x)))
93
+ const plugin_folder_files = await Promise.all(plugin_folder.map(x => loader.read_dir_file(loader.join(root, x))))
94
94
  for(let i = 0; i < plugin_folder_files.length; i++){
95
95
  const files = plugin_folder_files[i]
96
96
  const dirname = plugin_folder[i]