hdoc-tools 0.60.0 → 0.60.1

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 +3 -1
  2. package/package.json +1 -1
package/hdoc-validate.js CHANGED
@@ -561,8 +561,10 @@ const { error } = require("node:console");
561
561
  );
562
562
 
563
563
  // Skip if it's the auto-generated edit url, as these could be part of a private repo which would return a 404
564
+ // publicSource must be truthy, not just defined - an empty string makes
565
+ // get_github_api_path return "" which has no edit_path
564
566
  if (
565
- hdocbook_config.publicSource !== undefined &&
567
+ hdocbook_config.publicSource &&
566
568
  links[i] ===
567
569
  hdoc
568
570
  .get_github_api_path(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.60.0",
3
+ "version": "0.60.1",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {