@xutest1/sdk 0.2.1 → 0.2.2
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 +1 -1
- package/server.js +1 -1
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -10,7 +10,7 @@ function findBinary() {
|
|
|
10
10
|
// Get the directory where this SDK is installed
|
|
11
11
|
const sdkDir = dirname(fileURLToPath(import.meta.url));
|
|
12
12
|
// Go up to node_modules/@scope, then into the platform package
|
|
13
|
-
const scopeDir = dirname(
|
|
13
|
+
const scopeDir = dirname(sdkDir);
|
|
14
14
|
const binaryPath = join(scopeDir, platformKey, "bin", exe);
|
|
15
15
|
if (existsSync(binaryPath)) {
|
|
16
16
|
return binaryPath;
|