hdoc-tools 0.17.18 → 0.17.19

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/hdoc-validate.js +1 -1
  2. package/package.json +1 -1
package/hdoc-validate.js CHANGED
@@ -268,7 +268,7 @@
268
268
  const checkRedirects = async function (source_path) {
269
269
  let errors = [];
270
270
  for (const key in redirects) {
271
- if (redirects.hasOwnProperty(key)) {
271
+ if (redirects.hasOwnProperty(key) && redirects[key].location) {
272
272
  let redir_locations = [
273
273
  path.join(source_path, redirects[key].location + '.md'),
274
274
  path.join(source_path, redirects[key].location, 'index.md'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.17.18",
3
+ "version": "0.17.19",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {