@oclif/core 2.11.7 → 3.0.0-beta.1
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/lib/config/config.js +1 -1
- package/package.json +2 -2
package/lib/config/config.js
CHANGED
|
@@ -356,7 +356,7 @@ class Config {
|
|
|
356
356
|
* @returns {string[]} e.g. ['SF_DEBUG', 'SFDX_DEBUG']
|
|
357
357
|
*/
|
|
358
358
|
scopedEnvVarKeys(k) {
|
|
359
|
-
return [this.bin, ...this.binAliases ?? []].map(alias => [alias.replace(/@/g, '').replace(/[/-]/g, '_'), k].join('_').toUpperCase());
|
|
359
|
+
return [this.bin, ...this.binAliases ?? []].filter(alias => Boolean(alias)).map(alias => [alias.replace(/@/g, '').replace(/[/-]/g, '_'), k].join('_').toUpperCase());
|
|
360
360
|
}
|
|
361
361
|
findCommand(id, opts = {}) {
|
|
362
362
|
const lookupId = this.getCmdLookupId(id);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/core",
|
|
3
3
|
"description": "base library for oclif CLIs",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0-beta.1",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/core/issues",
|
|
7
7
|
"dependencies": {
|
|
@@ -120,4 +120,4 @@
|
|
|
120
120
|
"test:perf": "ts-node test/perf/parser.perf.ts"
|
|
121
121
|
},
|
|
122
122
|
"types": "lib/index.d.ts"
|
|
123
|
-
}
|
|
123
|
+
}
|