@smbcloud/cli 0.3.39 → 0.3.41

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/index.js +2 -2
  2. package/package.json +6 -6
package/lib/index.js CHANGED
@@ -19,7 +19,7 @@ function getExePath() {
19
19
  extension = ".exe";
20
20
  }
21
21
  try {
22
- // Since the binary will be located inside `node_modules`, we can simply call `require.resolve`
22
+ // The binary lives in `node_modules`, so `require.resolve` gives us the installed path.
23
23
  return require.resolve(`@smbcloud/cli-${os}-${arch}/bin/smb${extension}`);
24
24
  }
25
25
  catch (e) {
@@ -27,7 +27,7 @@ function getExePath() {
27
27
  }
28
28
  }
29
29
  /**
30
- * Runs the application with args using nodejs spawn
30
+ * Runs the native CLI with the current process arguments.
31
31
  */
32
32
  function run() {
33
33
  var _a;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smbcloud/cli",
3
- "version": "0.3.39",
3
+ "version": "0.3.41",
4
4
  "keywords": [
5
5
  "smbcloud",
6
6
  "cli",
@@ -58,10 +58,10 @@
58
58
  "typescript": "^5.0.0"
59
59
  },
60
60
  "optionalDependencies": {
61
- "@smbcloud/cli-darwin-arm64": "0.3.39",
62
- "@smbcloud/cli-darwin-x64": "0.3.39",
63
- "@smbcloud/cli-linux-x64": "0.3.39",
64
- "@smbcloud/cli-windows-arm64": "0.3.39",
65
- "@smbcloud/cli-windows-x64": "0.3.39"
61
+ "@smbcloud/cli-darwin-arm64": "0.3.41",
62
+ "@smbcloud/cli-darwin-x64": "0.3.41",
63
+ "@smbcloud/cli-linux-x64": "0.3.41",
64
+ "@smbcloud/cli-windows-arm64": "0.3.41",
65
+ "@smbcloud/cli-windows-x64": "0.3.41"
66
66
  }
67
67
  }