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.
- package/hdoc-validate.js +6 -0
- 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
|
}
|