documentify
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -24,3 +24,3 @@ var parallel = require('async-collection').parallel | ||
this.html = html || '<html><head></head><body></body></html>' | ||
this.html = html || '<!DOCTYPE html><html><head></head><body></body></html>' | ||
this.transforms = [] | ||
@@ -67,3 +67,5 @@ this.entry = entry | ||
findup(entry, 'package.json', function (err, pathname) { | ||
if (err) return done(err) | ||
// no package.json found - just run local transforms | ||
if (err) return done() | ||
var filename = path.join(pathname, 'package.json') | ||
@@ -70,0 +72,0 @@ fs.readFile(filename, function (err, file) { |
@@ -5,3 +5,3 @@ { | ||
"repository": "stackhtml/documentify", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "deps": "dependency-check . && dependency-check . --extra --no-dev", |
8933
131