hdoc-tools 0.9.25 → 0.9.26

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 CHANGED
@@ -107,7 +107,7 @@
107
107
  if (file_exists) {
108
108
  const true_file = trueCasePathSync(file_name);
109
109
  if (true_file !== file_name) {
110
- nav_errors.push(`Navigation path [${key}] does not match filename case [${path.basename(true_file)}].`);
110
+ nav_errors.push(`Navigation path [${key}] for filename [${file_name}] does not match filename case [${true_file}].`);
111
111
  }
112
112
  }
113
113
 
package/hdoc.js CHANGED
@@ -4,7 +4,8 @@
4
4
 
5
5
  const preRun = require('./validateNodeVer.js'),
6
6
  fs = require('fs'),
7
- path = require('path');
7
+ path = require('path'),
8
+ { trueCasePathSync } = require('true-case-path');
8
9
 
9
10
  const packageFile = path.join(__dirname, 'package.json');
10
11
 
@@ -64,6 +65,7 @@
64
65
  }
65
66
  }
66
67
  }
68
+ source_path = trueCasePathSync(source_path);
67
69
 
68
70
  console.log('Hornbill HDocBook Tools v' + getHdocPackageVersion(packageFile), '\r\n');
69
71
  console.log(' Server Path:', __dirname);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hdoc-tools",
3
- "version": "0.9.25",
3
+ "version": "0.9.26",
4
4
  "description": "Hornbill HDocBook Development Support Tool",
5
5
  "main": "hdoc.js",
6
6
  "bin": {