hdoc-tools 0.7.9 → 0.7.10
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-build.js +5 -5
- package/package.json +1 -1
package/hdoc-build.js
CHANGED
|
@@ -104,11 +104,11 @@
|
|
|
104
104
|
|
|
105
105
|
// Copy files from book into _work-docId folder
|
|
106
106
|
try {
|
|
107
|
-
fs.copySync(path.join(source_path, docId), path.join(work_path
|
|
108
|
-
fs.copyFileSync(path.join(source_path, 'hdocbook-project.json'), path.join(work_path, 'hdocbook-project.json'));
|
|
109
|
-
fs.copyFileSync(path.join(source_path, 'LICENSE'), path.join(work_path, 'LICENSE'));
|
|
110
|
-
fs.copyFileSync(path.join(source_path, 'README.md'), path.join(work_path, 'README.md'));
|
|
111
|
-
fs.copyFileSync(path.join(source_path, 'package.json'), path.join(work_path, 'package.json'));
|
|
107
|
+
fs.copySync(path.join(source_path, docId), path.join(work_path));
|
|
108
|
+
//fs.copyFileSync(path.join(source_path, 'hdocbook-project.json'), path.join(work_path, 'hdocbook-project.json'));
|
|
109
|
+
//fs.copyFileSync(path.join(source_path, 'LICENSE'), path.join(work_path, 'LICENSE'));
|
|
110
|
+
//fs.copyFileSync(path.join(source_path, 'README.md'), path.join(work_path, 'README.md'));
|
|
111
|
+
//fs.copyFileSync(path.join(source_path, 'package.json'), path.join(work_path, 'package.json'));
|
|
112
112
|
} catch (e) {
|
|
113
113
|
console.error('Error copying from source_path:\r\n', e);
|
|
114
114
|
process.exit(1);
|