@oclif/core 3.12.0 → 3.12.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.
Files changed (2) hide show
  1. package/lib/help/util.js +1 -1
  2. package/package.json +1 -1
package/lib/help/util.js CHANGED
@@ -43,7 +43,7 @@ function collateSpacedCmdIDFromArgs(argv, config) {
43
43
  const ids = (0, util_1.collectUsableIds)(config.commandIDs);
44
44
  const final = [];
45
45
  const idPresent = (id) => ids.has(id);
46
- const finalizeId = (s) => (s ? [...final, s].join(':') : final.join(':'));
46
+ const finalizeId = (s) => (s ? [...final, s] : final).filter(Boolean).join(':');
47
47
  const hasArgs = () => {
48
48
  const id = finalizeId();
49
49
  if (!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": "3.12.0",
4
+ "version": "3.12.1",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {