@orchagent/cli 0.3.120 → 0.3.121
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/dist/lib/config.js +1 -1
- package/package.json +1 -1
package/dist/lib/config.js
CHANGED
|
@@ -87,7 +87,7 @@ async function getResolvedConfig(overrides = {}, profile) {
|
|
|
87
87
|
// If profile specified, get config from profiles
|
|
88
88
|
const profileConfig = profile ? fileConfig.profiles?.[profile] : undefined;
|
|
89
89
|
const apiKey = overrides.api_key ??
|
|
90
|
-
process.env.ORCHAGENT_API_KEY ??
|
|
90
|
+
(process.env.ORCHAGENT_API_KEY || undefined) ??
|
|
91
91
|
profileConfig?.api_key ??
|
|
92
92
|
fileConfig.api_key;
|
|
93
93
|
const apiUrl = overrides.api_url ??
|
package/package.json
CHANGED