hdoc-tools 0.42.0 → 0.43.0

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 +6 -0
  2. package/package.json +1 -1
package/hdoc-validate.js CHANGED
@@ -977,6 +977,12 @@ const e = require("express");
977
977
  Array.isArray(hdocbook_project.validation.exclude_spellcheck)
978
978
  ) {
979
979
  for (const excl_sc of hdocbook_project.validation.exclude_spellcheck) {
980
+
981
+ if (exclude_spellcheck[excl_sc.document_path] !== undefined) {
982
+ meta_errors.push(
983
+ "Document path is duplicated in exclude_spellcheck validation array: " + excl_sc.document_path,
984
+ );
985
+ }
980
986
  exclude_spellcheck[excl_sc.document_path] = excl_sc.words;
981
987
  }
982
988
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.42.0",
3
+ "version": "0.43.0",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {