@antora/content-classifier 3.0.0-rc.2 → 3.0.0-rc.6

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.
@@ -156,11 +156,7 @@ function resolveAsciiDocConfig (siteAsciiDocConfig, { asciidoc }) {
156
156
  }
157
157
 
158
158
  function calculateRootPath (depth) {
159
- return depth
160
- ? Array(depth)
161
- .fill('..')
162
- .join('/')
163
- : '.'
159
+ return depth ? Array(depth).fill('..').join('/') : '.'
164
160
  }
165
161
 
166
162
  module.exports = classifyContent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antora/content-classifier",
3
- "version": "3.0.0-rc.2",
3
+ "version": "3.0.0-rc.6",
4
4
  "description": "Organizes aggregated content into a virtual file catalog for use in an Antora documentation pipeline.",
5
5
  "license": "MPL-2.0",
6
6
  "author": "OpenDevise Inc. (https://opendevise.com)",
@@ -19,7 +19,7 @@
19
19
  "test": "_mocha"
20
20
  },
21
21
  "dependencies": {
22
- "@antora/logger": "3.0.0-rc.2",
22
+ "@antora/logger": "3.0.0-rc.6",
23
23
  "mime-types": "~2.1",
24
24
  "vinyl": "~2.2"
25
25
  },
@@ -37,5 +37,5 @@
37
37
  "static site",
38
38
  "web publishing"
39
39
  ],
40
- "gitHead": "b64861391b7e55ea31fcecce4490b9cc02fec1c7"
40
+ "gitHead": "e14c96b36d1e6d0208ec9fc631fc2acd2cf16abc"
41
41
  }