Comparing version 0.4.4 to 0.4.5
@@ -177,3 +177,3 @@ 'use strict'; | ||
} else { | ||
cb(new Error('input doc dirs is not a string or an array.')); | ||
throw new Error('input doc dirs is not a string or an array.'); | ||
return; | ||
@@ -192,5 +192,2 @@ } | ||
navTree.forEach(navItem => { | ||
if(!navItem.blocks) { | ||
return; | ||
} | ||
let mdStr = renderBlocks(navItem, navTree); | ||
@@ -197,0 +194,0 @@ let docHtml = converter.makeHtml(mdStr); |
{ | ||
"name": "cldoc", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "Example", | ||
@@ -17,3 +17,3 @@ "scripts": { | ||
"type": "git", | ||
"url": "git+https://github.com:conglai/cldoc.git" | ||
"url": "https://github.com/conglai/cldoc" | ||
}, | ||
@@ -20,0 +20,0 @@ "dependencies": { |
@@ -16,2 +16,3 @@ # A Simple Document Tool | ||
## Install | ||
With ES6 destructuring used, it requires `NodeJS >= 6.9.1`. | ||
```bash | ||
@@ -18,0 +19,0 @@ ~ npm install cldoc -g |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
209
894549
7292