Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

Commit

Permalink
feat(debug): make options.debug as default writeOpts.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed May 8, 2016
1 parent 5c9b68e commit eeb7e8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/merge-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ function mergeConfig(options, context, gitRawCommitsOpts, parserOpts, writerOpts
}

return context;
}
},
debug: options.debug
},
config.writerOpts, {
reverse: options.append,
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ Finalize context is used for generating above context.

**NOTE:** If you overwrite this value the above context defaults will be gone.

##### debug

Type: `function` Default: `options.debug`

##### reverse

Default: `options.append`
Expand Down

0 comments on commit eeb7e8f

Please sign in to comment.