@rpcbase/cli 0.16.0 → 0.18.0

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": "@rpcbase/cli",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "license": "SSPL-1.0",
5
5
  "bin": {
6
6
  "rb": "./bin.js"
@@ -10,8 +10,11 @@ const exec = util.promisify(require("child_process").exec)
10
10
  const get_package_files = () => {
11
11
  const working_dir = process.cwd()
12
12
  const out = execSync(`find . -name "package.json" -not -path ".*/node_modules/*"`)
13
- const files = out.toString().trim().split("\n")
14
- .map((f) => path.join(working_dir, f))
13
+ // TODO: sort files
14
+ const find_output = out.toString().trim().split("\n")
15
+
16
+ const files = find_output.map((f) => path.join(working_dir, f))
17
+
15
18
  return files
16
19
  }
17
20