Skip to content

Commit e7c8128

Browse files
committed
Added shallow option
1 parent 613591a commit e7c8128

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ var through2 = require('through2'),
4343
module.exports = function (options) {
4444
options = options || {};
4545
var docOptions = {
46-
github : !!(options.github || options.g)
46+
github : !!(options.github || options.g),
47+
shallow: options.shallow || false
4748
};
4849
var files = [];
4950
options.format = options.format || 'html';

0 commit comments

Comments
 (0)