testdriverai 7.9.58-test → 7.9.59-canary
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/sdk.js +1 -1
package/package.json
CHANGED
package/sdk.js
CHANGED
|
@@ -3850,7 +3850,7 @@ CAPTCHA_SOLVER_EOF`,
|
|
|
3850
3850
|
const apiKey = this.config?.TD_API_KEY || '';
|
|
3851
3851
|
const maskedKey = apiKey.length > 4 ? '***' + apiKey.slice(-4) : '(not set)';
|
|
3852
3852
|
const env = process.env.TD_CHANNEL || process.env.TD_ENV || 'unknown';
|
|
3853
|
-
const os = this.agent?.options?.os || process.env.TD_OS || 'linux';
|
|
3853
|
+
const os = this.os || this.agent?.cliArgs?.options?.os || process.env.TD_OS || 'linux';
|
|
3854
3854
|
const sdkVersion = require('./package.json').version;
|
|
3855
3855
|
|
|
3856
3856
|
// Always print local config immediately
|