diff --git a/lib/merge-config.js b/lib/merge-config.js index ffe3aa9..fdddbb3 100644 --- a/lib/merge-config.js +++ b/lib/merge-config.js @@ -268,7 +268,8 @@ function mergeConfig(options, context, gitRawCommitsOpts, parserOpts, writerOpts } return context; - } + }, + debug: options.debug }, config.writerOpts, { reverse: options.append, diff --git a/readme.md b/readme.md index f870af9..a01f66c 100644 --- a/readme.md +++ b/readme.md @@ -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`