@antora/cli 3.0.0-beta.6 → 3.0.0-rc.4

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/cli.js CHANGED
@@ -35,7 +35,7 @@ function exitWithError (err, opts, msg = undefined) {
35
35
  function exit () {
36
36
  return requireLogger()
37
37
  .finalizeLogger()
38
- .then((failOnExit) => process.exit(process.exitCode || (failOnExit ? 1 : 0)))
38
+ .then((failOnExit) => process.exitCode || (process.exitCode = failOnExit ? 1 : 0))
39
39
  }
40
40
 
41
41
  function getTTYColumns () {
@@ -9,9 +9,7 @@ Command.prototype.optionsFromConvict = function (convictConfig, opts = {}) {
9
9
  if (exclude && exclude.includes(name)) return
10
10
  this.addOption(
11
11
  choices
12
- ? this.createOption(form, description)
13
- .default(default_, default_)
14
- .choices(choices)
12
+ ? this.createOption(form, description).default(default_, default_).choices(choices)
15
13
  : this.createOption(form, description).default(default_, default_)
16
14
  )
17
15
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antora/cli",
3
- "version": "3.0.0-beta.6",
3
+ "version": "3.0.0-rc.4",
4
4
  "description": "The command line interface for Antora.",
5
5
  "license": "MPL-2.0",
6
6
  "author": "OpenDevise Inc. (https://opendevise.com)",
@@ -21,13 +21,13 @@
21
21
  "test": "_mocha"
22
22
  },
23
23
  "dependencies": {
24
- "@antora/logger": "3.0.0-beta.6",
25
- "@antora/playbook-builder": "3.0.0-beta.6",
24
+ "@antora/logger": "3.0.0-rc.4",
25
+ "@antora/playbook-builder": "3.0.0-rc.4",
26
26
  "@antora/user-require-helper": "~2.0",
27
27
  "commander": "~8.3"
28
28
  },
29
29
  "devDependencies": {
30
- "@antora/site-publisher": "3.0.0-beta.6",
30
+ "@antora/site-publisher": "3.0.0-rc.4",
31
31
  "@asciidoctor/core": "~2.2",
32
32
  "convict": "~6.2",
33
33
  "kapok-js": "~0.10"
@@ -47,5 +47,5 @@
47
47
  "static site",
48
48
  "web publishing"
49
49
  ],
50
- "gitHead": "f9f747965f599442562f59206d870b7e38864806"
50
+ "gitHead": "5e29b434cf6e83e0e8e02c0793425bdf4d25bed2"
51
51
  }