pinokiod 3.8.57 → 3.8.59

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.
@@ -8,17 +8,19 @@ class Processor {
8
8
  console.log({ platform, home, str })
9
9
  let api_path
10
10
  let rel_path
11
+ let name
12
+ let _path
11
13
  if (platform === 'win32') {
12
- let _path = path.win32
14
+ _path = path.win32
13
15
  api_path = _path.resolve(home, "api")
14
16
  rel_path = _path.relative(api_path, str)
15
17
  } else {
16
- let _path = path.posix
18
+ _path = path.posix
17
19
  api_path = _path.resolve(home, "api")
18
20
  rel_path = _path.relative(api_path, str)
19
21
  }
20
22
  console.log({ api_path, rel_path, })
21
- let name = rel_path.split(_path.sep)[0]
23
+ name = rel_path.split(_path.sep)[0]
22
24
  console.log({ name })
23
25
  return name
24
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.57",
3
+ "version": "3.8.59",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {